cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/rbac to 8428f49
Date Tue, 08 Oct 2013 22:11:20 GMT
Updated Branches:
  refs/heads/rbac 9cd1a9532 -> 8428f49e4


Change method name.

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

Branch: refs/heads/rbac
Commit: 8428f49e467599cca827be1bb143174c51b950bb
Parents: 9cd1a95
Author: Min Chen <min.chen@citrix.com>
Authored: Tue Oct 8 15:11:07 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue Oct 8 15:11:07 2013 -0700

----------------------------------------------------------------------
 server/src/org/apache/cloudstack/acl/AclServiceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8428f49e/server/src/org/apache/cloudstack/acl/AclServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/org/apache/cloudstack/acl/AclServiceImpl.java b/server/src/org/apache/cloudstack/acl/AclServiceImpl.java
index 1ae8825..c7990eb 100644
--- a/server/src/org/apache/cloudstack/acl/AclServiceImpl.java
+++ b/server/src/org/apache/cloudstack/acl/AclServiceImpl.java
@@ -132,7 +132,7 @@ public class AclServiceImpl extends ManagerBase implements AclService,
Manager {
         AclRole role = _aclRoleDao.persist(rvo);
         if (parentRoleId != null) {
             // copy parent role permissions
-            List<AclRolePermissionVO> perms = _rolePermissionDao.findByRole(parentRoleId);
+            List<AclRolePermissionVO> perms = _rolePermissionDao.listByRole(parentRoleId);
             if (perms != null) {
                 for (AclRolePermissionVO perm : perms) {
                     perm.setAclRoleId(role.getId());


Mime
View raw message