This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 6e67edc ui: Prevent users from viewing - Project Configure Limits tab
(#5601)
6e67edc is described below
commit 6e67edcf50fb1a23a71a74a985bca4da0ff5dfca
Author: Pearl Dsilva <[email protected]>
AuthorDate: Thu Oct 21 20:45:36 2021 +0530
ui: Prevent users from viewing - Project Configure Limits tab (#5601)
---
ui/src/config/section/project.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/config/section/project.js b/ui/src/config/section/project.js
index e83dad8..53ae68e 100644
--- a/ui/src/config/section/project.js
+++ b/ui/src/config/section/project.js
@@ -50,7 +50,7 @@ export default {
},
{
name: 'limits',
- show: (record, route, user) => { return ['Admin',
'DomainAdmin'].includes(user.roletype) || record.isCurrentUserProjectAdmin },
+ show: (record, route, user) => { return ['Admin',
'DomainAdmin'].includes(user.roletype) },
component: () => import('@/components/view/ResourceLimitTab.vue')
}
],