hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r903045 - in /hadoop/zookeeper/trunk: CHANGES.txt src/java/main/org/apache/zookeeper/ZooDefs.java
Date Tue, 26 Jan 2010 02:03:57 GMT
Author: mahadev
Date: Tue Jan 26 02:03:56 2010
New Revision: 903045

URL: http://svn.apache.org/viewvc?rev=903045&view=rev
Log:
ZOOKEEPER-456. CREATOR_ALL_ACL has unnecessary PERMS.ADMIN in the declartion. (phunt via mahadev)

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooDefs.java

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=903045&r1=903044&r2=903045&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Tue Jan 26 02:03:56 2010
@@ -254,6 +254,9 @@
   ZOOKEEPER-612. Make Zookeeper C client can be compiled by gcc of early
   version (qian via mahadev)
 
+  ZOOKEEPER-456. CREATOR_ALL_ACL has unnecessary PERMS.ADMIN in the
+  declartion. (phunt via mahadev)
+
 NEW FEATURES:
   ZOOKEEPER-539. generate eclipse project via ant target. (phunt via mahadev)
 

Modified: hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooDefs.java
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooDefs.java?rev=903045&r1=903044&r2=903045&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooDefs.java (original)
+++ hadoop/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooDefs.java Tue Jan 26 02:03:56
2010
@@ -43,7 +43,7 @@
         public final int setACL = 7;
 
         public final int getChildren = 8;
-        
+
         public final int sync = 9;
 
         public final int ping = 11;
@@ -51,7 +51,7 @@
         public final int getChildren2 = 12;
 
         public final int auth = 100;
-        
+
         public final int setWatches = 101;
 
         public final int createSession = -10;
@@ -97,8 +97,7 @@
          * This ACL gives the creators authentication id's all permissions.
          */
         public final ArrayList<ACL> CREATOR_ALL_ACL = new ArrayList<ACL>(
-                Collections.singletonList(new ACL(Perms.ALL | Perms.ADMIN,
-                        AUTH_IDS)));
+                Collections.singletonList(new ACL(Perms.ALL, AUTH_IDS)));
 
         /**
          * This ACL gives the world the ability to read.



Mime
View raw message