continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r442477 - /maven/continuum/branches/continuum-acegi/continuum-security/continuum-security-acegi/src/main/java/org/apache/maven/continuum/security/acegi/AcegiContinuum.java
Date Tue, 12 Sep 2006 06:25:58 GMT
Author: carlos
Date: Mon Sep 11 23:25:57 2006
New Revision: 442477

URL: http://svn.apache.org/viewvc?view=rev&rev=442477
Log:
Add ACL on ant/shell project creation

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=442477&r1=442476&r2=442477
==============================================================================
--- 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 11 23:25:57 2006
@@ -125,7 +125,10 @@
     public int addProject( Project project, String executorId )
         throws ContinuumException
     {
-        return getContinuum().addProject( project, executorId );
+        int projectId = getContinuum().addProject( project, executorId );
+        Project addedProject = getContinuum().getProject( projectId );
+        getAclEventHandler().afterAddProject( addedProject, addedProject.getProjectGroup().getId()
);
+        return projectId;
     }
 
     public void addSchedule( Schedule schedule )



Mime
View raw message