diff --git a/modules/account/front/descriptor/index.html b/modules/account/front/descriptor/index.html index a1ce252a6..d01e953c2 100644 --- a/modules/account/front/descriptor/index.html +++ b/modules/account/front/descriptor/index.html @@ -5,14 +5,16 @@ Delete Change role @@ -20,13 +22,16 @@ ng-if="::$root.user.id == $ctrl.id" ng-click="$ctrl.onChangePassClick(true)" name="changePassword" + vn-acl="hr" + vn-acl-action="remove" translate> Change password Set password @@ -34,7 +39,8 @@ ng-if="!$ctrl.hasAccount" ng-click="enableAccount.show()" name="enableAccount" - vn-acl="developer" + vn-acl="it" + vn-acl-action="remove" translate> Enable account @@ -42,7 +48,8 @@ ng-if="$ctrl.hasAccount" ng-click="disableAccount.show()" name="disableAccount" - vn-acl="developer" + vn-acl="it" + vn-acl-action="remove" translate> Disable account @@ -50,7 +57,8 @@ ng-if="!$ctrl.user.active" ng-click="activateUser.show()" name="activateUser" - vn-acl="developer" + vn-acl="hr" + vn-acl-action="remove" translate> Activate user @@ -58,7 +66,8 @@ ng-if="$ctrl.user.active" ng-click="deactivateUser.show()" name="deactivateUser" - vn-acl="developer" + vn-acl="hr" + vn-acl-action="remove" translate> Deactivate user diff --git a/modules/account/front/routes.json b/modules/account/front/routes.json index 494d70f71..f2439dc09 100644 --- a/modules/account/front/routes.json +++ b/modules/account/front/routes.json @@ -76,7 +76,8 @@ "url": "/basic-data", "state": "account.card.basicData", "component": "vn-user-basic-data", - "description": "Basic data" + "description": "Basic data", + "acl": ["it"] }, { "url": "/roles",