incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: CS-16050: Pass listAll=true to listTags API call, if admin
Date Mon, 20 Aug 2012 17:40:48 GMT
Updated Branches:
  refs/heads/master ac9dee94a -> ba2b0c397


CS-16050: Pass listAll=true to listTags API call, if admin


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ba2b0c39
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ba2b0c39
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ba2b0c39

Branch: refs/heads/master
Commit: ba2b0c3974a81141b706d68c99193c172dc1669a
Parents: ac9dee9
Author: Brian Federle <brian.federle@citrix.com>
Authored: Mon Aug 20 10:39:06 2012 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Mon Aug 20 10:40:37 2012 -0700

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ba2b0c39/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index 36545cc..ebc0ad8 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -701,6 +701,10 @@ cloudStack.api = {
           resourceType: resourceType
         };
 
+        if (isAdmin() || isDomainAdmin()) {
+          data.listAll = true;
+        }
+
         if (args.context.projects) {
           data.projectid=args.context.projects[0].id;
         }


Mime
View raw message