bug 14191

-Only show domains under logged in user's domain

-Allow domain admins to add accounts from 'Accounts' section

status 14191: resolved fixed
This commit is contained in:
bfederle 2012-03-09 14:13:37 -08:00
parent 8dcaa7485e
commit 90a999f4ab
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@
add: {
label: 'label.add.account',
preFilter: function(args) {
if(isAdmin())
if(isAdmin() || isDomainAdmin())
return true;
else
return false;
@ -97,6 +97,7 @@
select: function(args) {
$.ajax({
url: createURL("listDomains&listAll=true"),
domainid: args.context.users[0].domainid,
dataType: "json",
async: false,
success: function(json) {