mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: Allow domain admin to configure subdomain limits (#5978)
This commit is contained in:
parent
a6d9fa61b9
commit
bc93163eec
@ -47,7 +47,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'limits',
|
name: 'limits',
|
||||||
show: (record, route, user) => { return ['Admin'].includes(user.roletype) },
|
show: (record, route, user) => { return ['Admin'].includes(user.roletype) || (['DomainAdmin'].includes(user.roletype) && record.id !== user.domainid) },
|
||||||
component: () => import('@/components/view/ResourceLimitTab.vue')
|
component: () => import('@/components/view/ResourceLimitTab.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user