jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1448268 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/PermissionHook.java
Date Wed, 20 Feb 2013 16:00:23 GMT
Author: angela
Date: Wed Feb 20 16:00:23 2013
New Revision: 1448268

URL: http://svn.apache.org/r1448268
Log:
OAK-527: permissions (rep:privileges is mv property)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/PermissionHook.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/PermissionHook.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/PermissionHook.java?rev=1448268&r1=1448267&r2=1448268&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/PermissionHook.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/PermissionHook.java
Wed Feb 20 16:00:23 2013
@@ -238,7 +238,7 @@ public class PermissionHook implements C
         private Entry createEntry(String name, NodeState ace, BaseNode acl) {
             Tree aceTree = getTree(name, ace);
             String principalName = checkNotNull(TreeUtil.getString(aceTree, REP_PRINCIPAL_NAME));
-            PrivilegeBits privilegeBits = bitsProvider.getBits(TreeUtil.getString(aceTree,
REP_PRIVILEGES));
+            PrivilegeBits privilegeBits = bitsProvider.getBits(TreeUtil.getStrings(aceTree,
REP_PRIVILEGES));
             boolean isAllow = NT_REP_GRANT_ACE.equals(TreeUtil.getPrimaryTypeName(aceTree));
             // TODO: respect restrictions
 



Mime
View raw message