Skip to content

Commit bc93163

Browse files
authored
ui: Allow domain admin to configure subdomain limits (apache#5978)
1 parent a6d9fa6 commit bc93163

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/config/section/domain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
},
4848
{
4949
name: 'limits',
50-
show: (record, route, user) => { return ['Admin'].includes(user.roletype) },
50+
show: (record, route, user) => { return ['Admin'].includes(user.roletype) || (['DomainAdmin'].includes(user.roletype) && record.id !== user.domainid) },
5151
component: () => import('@/components/view/ResourceLimitTab.vue')
5252
},
5353
{

0 commit comments

Comments
 (0)