diff --git a/console/src/app/app-routing.module.ts b/console/src/app/app-routing.module.ts index 13da07dc9e..b336e0b640 100644 --- a/console/src/app/app-routing.module.ts +++ b/console/src/app/app-routing.module.ts @@ -166,7 +166,7 @@ const routes: Routes = [ loadChildren: () => import('./pages/org-settings/org-settings.module').then((m) => m.OrgSettingsModule), canActivate: [AuthGuard, RoleGuard], data: { - roles: ['iam.read', 'iam.write'], + roles: ['org.read', 'org.write'], }, }, { diff --git a/console/src/app/app.module.ts b/console/src/app/app.module.ts index f0af3b14ef..71e7a1b644 100644 --- a/console/src/app/app.module.ts +++ b/console/src/app/app.module.ts @@ -50,6 +50,7 @@ import { import { StatehandlerService, StatehandlerServiceImpl } from './services/statehandler/statehandler.service'; import { StorageService } from './services/storage.service'; import { ThemeService } from './services/theme.service'; +import { ToastService } from './services/toast.service'; registerLocaleData(localeDe); @@ -175,6 +176,7 @@ const authConfig: AuthConfig = { AdminService, KeyboardShortcutsService, AssetService, + ToastService, NavigationService, { provide: 'windowObject', useValue: window }, ], diff --git a/console/src/app/modules/idp-table/idp-table.component.html b/console/src/app/modules/idp-table/idp-table.component.html index 1ac669759b..bfa88fbc7b 100644 --- a/console/src/app/modules/idp-table/idp-table.component.html +++ b/console/src/app/modules/idp-table/idp-table.component.html @@ -248,6 +248,12 @@