jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1480170 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHookTest.java
Date Wed, 08 May 2013 06:53:17 GMT
Author: angela
Date: Wed May  8 06:53:17 2013
New Revision: 1480170

URL: http://svn.apache.org/r1480170
Log:
OAK-527: permissions (wip, add issue reference)

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHookTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHookTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHookTest.java?rev=1480170&r1=1480169&r2=1480170&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHookTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHookTest.java
Wed May  8 06:53:17 2013
@@ -327,7 +327,7 @@ public class PermissionHookTest extends 
         }
     }
 
-    @Ignore() // FIXME
+    @Ignore("OAK-781") // FIXME
     @Test
     public void testImplicitAceRemoval() throws Exception {
         AccessControlManager acMgr = getAccessControlManager(root);
@@ -353,8 +353,10 @@ public class PermissionHookTest extends 
 
         testRoot.getTree(childPath).remove();
         testRoot.commit();
+        testSession.close();
 
         root.refresh();
+        assertFalse(root.getTree(testPath).hasChild("childNode"));
         assertFalse(root.getTree(childPath+"/rep:policy").exists());
         // aces must be removed in the permission store even if the editing
         // session wasn't able to access them.



Mime
View raw message