mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 12971
Allow domain admin to see security groups
This commit is contained in:
parent
1562c2fe7a
commit
b9caf8652c
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
securityGroups: function(args) {
|
securityGroups: function(args) {
|
||||||
var allowedActions = [];
|
var allowedActions = [];
|
||||||
var isSecurityGroupOwner = isAdmin() ||
|
var isSecurityGroupOwner = isAdmin() || isDomainAdmin() ||
|
||||||
args.context.item.account == args.context.users[0].account;
|
args.context.item.account == args.context.users[0].account;
|
||||||
|
|
||||||
if (isSecurityGroupOwner &&
|
if (isSecurityGroupOwner &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user