ui: Allow domain admin to configure subdomain limits (#5978)

This commit is contained in:
davidjumani 2022-02-10 16:25:45 +05:30 committed by GitHub
parent a6d9fa61b9
commit bc93163eec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ export default {
},
{
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')
},
{