From c3e311f07697836cb4072483631543b7129cd10a Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 24 Nov 2021 15:01:44 +0100 Subject: [PATCH] Updated route acls --- modules/account/front/routes.json | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/modules/account/front/routes.json b/modules/account/front/routes.json index 309f93f02..02e5bbbb9 100644 --- a/modules/account/front/routes.json +++ b/modules/account/front/routes.json @@ -51,7 +51,8 @@ "url": "/create", "state": "account.create", "component": "vn-user-create", - "description": "New user" + "description": "New user", + "acl": ["it"] }, { "url": "/:id", "state": "account.card", @@ -75,17 +76,20 @@ "url": "/roles", "state": "account.card.roles", "component": "vn-user-roles", - "description": "Inherited roles" + "description": "Inherited roles", + "acl": ["it"] }, { "url": "/mail-forwarding", "state": "account.card.mailForwarding", "component": "vn-user-mail-forwarding", - "description": "Mail forwarding" + "description": "Mail forwarding", + "acl": ["marketing", "hr"] }, { "url": "/aliases", "state": "account.card.aliases", "component": "vn-user-aliases", - "description": "Mail aliases" + "description": "Mail aliases", + "acl": ["marketing"] }, { "url": "/role?q", "state": "account.role", @@ -167,25 +171,26 @@ "url": "/users", "state": "account.alias.card.users", "component": "vn-alias-users", - "description": "Users" + "description": "Users", + "acl": ["it"] }, { "url": "/accounts", "state": "account.accounts", "component": "vn-account-accounts", "description": "Accounts", - "acl": ["developer"] + "acl": ["it"] }, { "url": "/ldap", "state": "account.ldap", "component": "vn-account-ldap", "description": "LDAP", - "acl": ["developer"] + "acl": ["sysadmin"] }, { "url": "/samba", "state": "account.samba", "component": "vn-account-samba", "description": "Samba", - "acl": ["developer"] + "acl": ["sysadmin"] }, { "url": "/acl?q", "state": "account.acl", @@ -196,17 +201,20 @@ "url": "/create", "state": "account.acl.create", "component": "vn-acl-create", - "description": "New ACL" + "description": "New ACL", + "acl": ["developer"] }, { "url": "/:id/edit", "state": "account.acl.edit", "component": "vn-acl-create", - "description": "Edit ACL" + "description": "Edit ACL", + "acl": ["developer"] }, { "url": "/connections", "state": "account.connections", "component": "vn-connections", - "description": "Connections" + "description": "Connections", + "acl": ["developer"] } ] } \ No newline at end of file