mirror of https://github.com/apache/cloudstack.git
CS-16050: Pass listAll=true to listTags API call, if admin
This commit is contained in:
parent
b9a6e60ea9
commit
94c5727b12
|
|
@ -698,6 +698,10 @@ cloudStack.api = {
|
|||
resourceType: resourceType
|
||||
};
|
||||
|
||||
if (isAdmin() || isDomainAdmin()) {
|
||||
data.listAll = true;
|
||||
}
|
||||
|
||||
if (args.context.projects) {
|
||||
data.projectid=args.context.projects[0].id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue