continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447517 - /maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclInitializer.java
Date Mon, 18 Sep 2006 19:32:25 GMT
Author: carlos
Date: Mon Sep 18 12:32:24 2006
New Revision: 447517

URL: http://svn.apache.org/viewvc?view=rev&rev=447517
Log:
Set all permissions on creation

Modified:
    maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclInitializer.java

Modified: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclInitializer.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclInitializer.java?view=diff&rev=447517&r1=447516&r2=447517
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclInitializer.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclInitializer.java
Mon Sep 18 12:32:24 2006
@@ -59,6 +59,10 @@
         aclEntry.setAclObjectIdentity( new NamedEntityObjectIdentity( ProjectGroup.class.getName(),
Integer
             .toString( PARENT_PROJECT_GROUP_ACL_ID ) ) );
         aclEntry.setRecipient( "ROLE_admin" );
+        aclEntry.addPermission( ExtendedSimpleAclEntry.CREATE );
+        aclEntry.addPermission( ExtendedSimpleAclEntry.WRITE );
+        aclEntry.addPermission( ExtendedSimpleAclEntry.DELETE );
+        aclEntry.addPermission( ExtendedSimpleAclEntry.EXECUTE );
         aclEntry.addPermission( ExtendedSimpleAclEntry.ADMINISTRATION );
         getDao().create( aclEntry );
 



Mime
View raw message