jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1481017 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/ test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/
Date Fri, 10 May 2013 14:14:02 GMT
Author: angela
Date: Fri May 10 14:14:01 2013
New Revision: 1481017

URL: http://svn.apache.org/r1481017
Log:
OAK-527: permissions (javadoc)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/OpenPermissionProvider.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/Jr2CompatibilityTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/OpenPermissionProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/OpenPermissionProvider.java?rev=1481017&r1=1481016&r2=1481017&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/OpenPermissionProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/OpenPermissionProvider.java
Fri May 10 14:14:01 2013
@@ -26,7 +26,7 @@ import org.apache.jackrabbit.oak.api.Tre
 import org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeConstants;
 
 /**
- * OpenPermissionProvider... TODO
+ * Permission provider implementation that grants full access everywhere.
  */
 public final class OpenPermissionProvider implements PermissionProvider {
 

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java?rev=1481017&r1=1481016&r2=1481017&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java
Fri May 10 14:14:01 2013
@@ -32,7 +32,8 @@ import org.apache.jackrabbit.oak.plugins
 import org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeConstants;
 
 /**
- * Permissions... TODO
+ * Provides constants for permissions used in the OAK access evaluation as well
+ * as permission related utility methods.
  */
 public final class Permissions {
 
@@ -79,6 +80,9 @@ public final class Permissions {
 
     public static final long PRIVILEGE_MANAGEMENT = WORKSPACE_MANAGEMENT << 1;
 
+    /**
+     * @since OAK 1.0
+     */
     public static final long USER_MANAGEMENT = PRIVILEGE_MANAGEMENT << 1;
 
     public static final long READ = READ_NODE | READ_PROPERTY;

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/Jr2CompatibilityTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/Jr2CompatibilityTest.java?rev=1481017&r1=1481016&r2=1481017&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/Jr2CompatibilityTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/evaluation/Jr2CompatibilityTest.java
Fri May 10 14:14:01 2013
@@ -39,7 +39,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 /**
- * Jr2CompatibilityTest... TODO
+ * Test compatibility with Jackrabbit 2.x using the
+ * {@link AccessControlConstants#PARAM_PERMISSIONS_JR2} configuration parameter.
  */
 public class Jr2CompatibilityTest extends AbstractOakCoreTest {
 



Mime
View raw message