bug 7027: domain admins can no longer modify resource limits of any accounts

status 7027: resolved fixed
This commit is contained in:
will 2010-11-08 21:29:49 -08:00
parent d695e0f5ba
commit 761a192042
1 changed files with 1 additions and 1 deletions

View File

@ -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() {