This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.16 by this push:
new c86b98e ui: show account configure limits tab for domain-admin (#5858)
c86b98e is described below
commit c86b98e6829073cf27e0852eca088273611b17d3
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Jan 13 18:38:02 2022 +0530
ui: show account configure limits tab for domain-admin (#5858)
Fixes #5676
Signed-off-by: Abhishek Kumar <[email protected]>
---
ui/src/config/section/account.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/config/section/account.js b/ui/src/config/section/account.js
index 1b91903..701553a 100644
--- a/ui/src/config/section/account.js
+++ b/ui/src/config/section/account.js
@@ -39,7 +39,7 @@ export default {
},
{
name: 'limits',
- show: (record, route, user) => { return
['Admin'].includes(user.roletype) },
+ show: (record, route, user) => { return ['Admin',
'DomainAdmin'].includes(user.roletype) },
component: () => import('@/components/view/ResourceLimitTab.vue')
},
{