mirror of https://github.com/apache/cloudstack.git
bug 7027: domain admins can no longer modify resource limits of any accounts
status 7027: resolved fixed
This commit is contained in:
parent
d695e0f5ba
commit
761a192042
|
|
@ -198,7 +198,7 @@ function showAccountsTab(domainId) {
|
|||
|
||||
template.find("#account_enable, #account_disable").data("accountId", accountId);
|
||||
|
||||
if (json.accounttype == roleTypeUser || json.accounttype == roleTypeDomainAdmin) {
|
||||
if (isAdmin() && (json.accounttype == roleTypeUser || json.accounttype == roleTypeDomainAdmin)) {
|
||||
template.find("#account_resource_limits_container").show();
|
||||
var that = template;
|
||||
template.find("#account_resource_limits").bind("click", function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue