continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r441873 - /maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclEventHandler.java
Date Sat, 09 Sep 2006 23:00:26 GMT
Author: carlos
Date: Sat Sep  9 16:00:26 2006
New Revision: 441873

URL: http://svn.apache.org/viewvc?view=rev&rev=441873
Log:
Change signature of getUsersInstancePermissions

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

Modified: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclEventHandler.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/AclEventHandler.java?view=diff&rev=441873&r1=441872&r2=441873
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclEventHandler.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/acl/AclEventHandler.java
Sat Sep  9 16:00:26 2006
@@ -71,7 +71,7 @@
      */
     public void afterDeleteProjectGroup( int projectGroupId )
     {
-        delete( ProjectGroup.class, projectGroupId );
+        delete( ProjectGroup.class, new Integer( projectGroupId ) );
     }
 
     /**
@@ -137,27 +137,27 @@
 
     public void setProjectGroupPermissions( int projectGroupId, String userName, int permissions
)
     {
-        super.setPermissions( ProjectGroup.class, projectGroupId, userName, permissions,
+        super.setPermissions( ProjectGroup.class, new Integer( projectGroupId ), userName,
permissions,
                               AclInitializer.PARENT_PROJECT_GROUP_ACL_ID );
     }
 
     public BasicAclEntry getProjectGroupAcl( int projectGroupId, String userName )
     {
-        return getAcl( ProjectGroup.class, projectGroupId, userName );
+        return getAcl( ProjectGroup.class, new Integer( projectGroupId ), userName );
     }
 
     private NamedEntityObjectIdentity createProjectObjectIdentity( int projectId )
     {
-        return createObjectIdentity( Project.class, projectId );
+        return createObjectIdentity( Project.class, new Integer( projectId ) );
     }
 
     private NamedEntityObjectIdentity createProjectGroupObjectIdentity( int projectGroupId
)
     {
-        return createObjectIdentity( ProjectGroup.class, projectGroupId );
+        return createObjectIdentity( ProjectGroup.class, new Integer( projectGroupId ) );
     }
 
     public BasicAclEntry[] getProjectGroupAcls( int projectGroupId )
     {
-        return getAcls( ProjectGroup.class, projectGroupId );
+        return getAcls( ProjectGroup.class, new Integer( projectGroupId ) );
     }
 }



Mime
View raw message