diff --git a/ui/admin/app/routes/scopes/scope/groups.js b/ui/admin/app/routes/scopes/scope/groups.js index 1784799cc..e1346ae4d 100644 --- a/ui/admin/app/routes/scopes/scope/groups.js +++ b/ui/admin/app/routes/scopes/scope/groups.js @@ -57,7 +57,11 @@ export default class ScopesScopeGroupsRoute extends Route { ) async save(group) { await group.save(); - await this.transitionTo('scopes.scope.groups.group', group); + if (this.can.can('read model', group)) { + await this.transitionTo('scopes.scope.groups.group', group); + } else { + await this.transitionTo('scopes.scope.groups'); + } this.refresh(); }