continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r307088 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
Date Fri, 07 Oct 2005 11:31:06 GMT
Author: evenisse
Date: Fri Oct  7 04:31:04 2005
New Revision: 307088

URL: http://svn.apache.org/viewcvs?rev=307088&view=rev
Log:
[CONTINUUM-335] By default, guest can only show and build projects

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java?rev=307088&r1=307087&r2=307088&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/initialization/DefaultContinuumInitializer.java
Fri Oct  7 04:31:04 2005
@@ -223,27 +223,9 @@
 
             List guestPermissions = new ArrayList();
 
-            guestPermissions.add( store.getPermission( "addProject" ) );
-
-            guestPermissions.add( store.getPermission( "editProject" ) );
-
-            guestPermissions.add( store.getPermission( "deleteProject" ) );
-
             guestPermissions.add( store.getPermission( "buildProject" ) );
 
             guestPermissions.add( store.getPermission( "showProject" ) );
-
-            guestPermissions.add( store.getPermission( "addBuildDefinition" ) );
-
-            guestPermissions.add( store.getPermission( "editBuildDefinition" ) );
-
-            guestPermissions.add( store.getPermission( "deleteBuildDefinition" ) );
-
-            guestPermissions.add( store.getPermission( "addNotifier" ) );
-
-            guestPermissions.add( store.getPermission( "editNotifier" ) );
-
-            guestPermissions.add( store.getPermission( "deleteNotifier" ) );
 
             guestGroup.setPermissions( guestPermissions );
 



Mime
View raw message