mirror of https://github.com/apache/cloudstack.git
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:
parent
8dcaa7485e
commit
90a999f4ab
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue