continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447745 - /maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/AcegiContinuum.java
Date Tue, 19 Sep 2006 05:29:42 GMT
Author: carlos
Date: Mon Sep 18 22:29:42 2006
New Revision: 447745

URL: http://svn.apache.org/viewvc?view=rev&rev=447745
Log:
Populate projectGroup permissions in getProjectWithAllDetails

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

Modified: maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/AcegiContinuum.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/AcegiContinuum.java?view=diff&rev=447745&r1=447744&r2=447745
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/AcegiContinuum.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/AcegiContinuum.java
Mon Sep 18 22:29:42 2006
@@ -161,4 +161,13 @@
         getAclEventHandler().afterDeleteProjectGroup( projectGroup.getId() );
     }
 
+    public Project getProjectWithAllDetails( int projectId )
+        throws ContinuumException
+    {
+        Project project = super.getProjectWithAllDetails( projectId );
+        ProjectGroup projectGroup = project.getProjectGroup();
+        project.setProjectGroup( getAclEventHandler().setPermissions( projectGroup ) );
+        return project;
+    }
+
 }



Mime
View raw message