mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
This reverts commit d37393b695
.
This commit is contained in:
@@ -167,13 +167,7 @@ export const appRoutes: Routes = [
|
|||||||
{
|
{
|
||||||
path: 'cloud',
|
path: 'cloud',
|
||||||
canActivate: [AuthGuardSsoRoleService],
|
canActivate: [AuthGuardSsoRoleService],
|
||||||
data: {
|
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
|
||||||
roles: [
|
|
||||||
'ACTIVITI_USER',
|
|
||||||
'ACTIVITI_ADMIN'
|
|
||||||
],
|
|
||||||
redirectUrl: '/error/403'
|
|
||||||
},
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
@@ -194,14 +188,7 @@ export const appRoutes: Routes = [
|
|||||||
{
|
{
|
||||||
path: ':appName',
|
path: ':appName',
|
||||||
canActivate: [AuthGuardSsoRoleService],
|
canActivate: [AuthGuardSsoRoleService],
|
||||||
data: {
|
data: { clientRoles: ['appName'], roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
|
||||||
clientRoles: ['appName'],
|
|
||||||
roles: [
|
|
||||||
'ACTIVITI_USER',
|
|
||||||
'ACTIVITI_ADMIN'
|
|
||||||
],
|
|
||||||
redirectUrl: '/error/403'
|
|
||||||
},
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
|
Reference in New Issue
Block a user