You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/10/09 00:11:20 UTC
git commit: updated refs/heads/rbac to 8428f49
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 <mi...@citrix.com>
Authored: Tue Oct 8 15:11:07 2013 -0700
Committer: Min Chen <mi...@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());