mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
allow admins to view cloud demos (#5436)
This commit is contained in:
parent
0256a16ea4
commit
d37393b695
@ -167,7 +167,13 @@ export const appRoutes: Routes = [
|
|||||||
{
|
{
|
||||||
path: 'cloud',
|
path: 'cloud',
|
||||||
canActivate: [AuthGuardSsoRoleService],
|
canActivate: [AuthGuardSsoRoleService],
|
||||||
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
|
data: {
|
||||||
|
roles: [
|
||||||
|
'ACTIVITI_USER',
|
||||||
|
'ACTIVITI_ADMIN'
|
||||||
|
],
|
||||||
|
redirectUrl: '/error/403'
|
||||||
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
@ -188,7 +194,14 @@ export const appRoutes: Routes = [
|
|||||||
{
|
{
|
||||||
path: ':appName',
|
path: ':appName',
|
||||||
canActivate: [AuthGuardSsoRoleService],
|
canActivate: [AuthGuardSsoRoleService],
|
||||||
data: { clientRoles: ['appName'], roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
|
data: {
|
||||||
|
clientRoles: ['appName'],
|
||||||
|
roles: [
|
||||||
|
'ACTIVITI_USER',
|
||||||
|
'ACTIVITI_ADMIN'
|
||||||
|
],
|
||||||
|
redirectUrl: '/error/403'
|
||||||
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user