jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1466619 - in /jackrabbit/oak/trunk/oak-jcr: pom.xml src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AccessControlManagementTest.java src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/ReadTest.java
Date Wed, 10 Apr 2013 18:56:24 GMT
Author: angela
Date: Wed Apr 10 18:56:24 2013
New Revision: 1466619

URL: http://svn.apache.org/r1466619
Log:
OAK-527: permissions (WIP: include permission related tests)

Modified:
    jackrabbit/oak/trunk/oak-jcr/pom.xml
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AccessControlManagementTest.java
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/ReadTest.java

Modified: jackrabbit/oak/trunk/oak-jcr/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/pom.xml?rev=1466619&r1=1466618&r2=1466619&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-jcr/pom.xml Wed Apr 10 18:56:24 2013
@@ -258,6 +258,11 @@
       org.apache.jackrabbit.oak.jcr.version.VersionHistoryTest#testGetVersionHistoryFromNode
            <!-- OAK-601 -->
       org.apache.jackrabbit.oak.jcr.version.VersionHistoryTest#testGetVersionHistory    
                <!-- OAK-602 -->
       org.apache.jackrabbit.oak.jcr.version.VersionHistoryTest#testGetVersionHistoryAfterMove
           <!-- OAK-602 -->
+
+      org.apache.jackrabbit.oak.jcr.security.authorization.AccessControlManagementTest#testRemoveMixin
      <!-- OAK-767 -->
+      org.apache.jackrabbit.oak.jcr.security.authorization.ReadTest#testReadDenied      
                    <!-- OAK-51 -->
+      org.apache.jackrabbit.oak.jcr.security.authorization.ReadTest#testAllowEveryoneDenyGroup
              <!-- OAK-51 -->
+      org.apache.jackrabbit.oak.jcr.security.authorization.ReadTest#testAllowEveryonePathDenyGroupChildPath
 <!-- OAK-51 -->
     </known.issues>
   </properties>
 

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AccessControlManagementTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AccessControlManagementTest.java?rev=1466619&r1=1466618&r2=1466619&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AccessControlManagementTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/AccessControlManagementTest.java
Wed Apr 10 18:56:24 2013
@@ -39,7 +39,6 @@ import org.junit.Test;
 /**
  * AccessControlManagementTest... TODO
  */
-@Ignore("OAK-51")
 public class AccessControlManagementTest extends AbstractEvaluationTest {
 
     @Test

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/ReadTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/ReadTest.java?rev=1466619&r1=1466618&r2=1466619&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/ReadTest.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/security/authorization/ReadTest.java
Wed Apr 10 18:56:24 2013
@@ -29,7 +29,6 @@ import static org.junit.Assert.assertArr
 /**
  * ReadTest... TODO
  */
-@Ignore("OAK-51")
 public class ReadTest extends AbstractEvaluationTest {
 
     @Test
@@ -111,6 +110,7 @@ public class ReadTest extends AbstractEv
         assertFalse(testSession.nodeExists(path));
     }
 
+    @Ignore("OAK-766") // FIXME
     @Test
     public void testReadDenied() throws Exception {
         /* deny READ privilege for testUser at 'path' */
@@ -198,6 +198,7 @@ public class ReadTest extends AbstractEv
         assertTrue(testSession.nodeExists(path));
     }
 
+    @Ignore("OAK-51") // FIXME
     @Test
     public void testAllowEveryoneDenyGroup() throws Exception {
         /*
@@ -228,6 +229,7 @@ public class ReadTest extends AbstractEv
         assertTrue(testSession.nodeExists(childNPath));
     }
 
+    @Ignore("OAK-51") // FIXME
     @Test
     public void testAllowEveryonePathDenyGroupChildPath() throws Exception {
         /*
@@ -238,7 +240,7 @@ public class ReadTest extends AbstractEv
         /*
          deny READ privilege for group at 'childNPath'
          */
-        deny(path, getTestGroup().getPrincipal(), readPrivileges);
+        deny(childNPath, getTestGroup().getPrincipal(), readPrivileges);
 
         assertFalse(testSession.nodeExists(childNPath));
     }
@@ -320,4 +322,4 @@ public class ReadTest extends AbstractEv
         assertFalse(testSession.hasPermission(propPath, javax.jcr.Session.ACTION_READ));
         assertFalse(testSession.propertyExists(propPath));
     }
-}
\ No newline at end of file
+}



Mime
View raw message