mirror of https://github.com/apache/cloudstack.git
bug 9922 : My ISOs shouldnt list Featured ISOs when the user is not the owner of those isos.
status 9922: resolved fixed
This commit is contained in:
parent
2e5afd4684
commit
b2782842f7
|
|
@ -546,4 +546,8 @@ public abstract class BaseCmd {
|
|||
(accountType == Account.ACCOUNT_TYPE_DOMAIN_ADMIN) ||
|
||||
(accountType == Account.ACCOUNT_TYPE_READ_ONLY_ADMIN));
|
||||
}
|
||||
|
||||
public static boolean isRootAdmin(short accountType) {
|
||||
return ((accountType == Account.ACCOUNT_TYPE_ADMIN));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue