remove guard (#450)

This commit is contained in:
Max Peintner
2020-07-13 14:14:02 +02:00
committed by GitHub
parent b628baeb1a
commit 547d55a2c8

View File

@@ -31,10 +31,7 @@ const routes: Routes = [
{ {
path: 'users', path: 'users',
loadChildren: () => import('./pages/users/users.module').then(m => m.UsersModule), loadChildren: () => import('./pages/users/users.module').then(m => m.UsersModule),
canActivate: [AuthGuard, RoleGuard], canActivate: [AuthGuard],
data: {
roles: ['user.read'],
},
}, },
{ {
path: 'iam', path: 'iam',