incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r292250 - /incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/services/core/impl/ContentPermissionServiceImpl.java
Date Wed, 28 Sep 2005 18:47:35 GMT
Author: clombart
Date: Wed Sep 28 11:47:32 2005
New Revision: 292250

URL: http://svn.apache.org/viewcvs?rev=292250&view=rev
Log:
bug fix. The permissions were not created correctly in the DB. 
it is a certainly a regression due to my last object model refactory.
Sorry for that !

Modified:
    incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/services/core/impl/ContentPermissionServiceImpl.java

Modified: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/services/core/impl/ContentPermissionServiceImpl.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/services/core/impl/ContentPermissionServiceImpl.java?rev=292250&r1=292249&r2=292250&view=diff
==============================================================================
--- incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/services/core/impl/ContentPermissionServiceImpl.java
(original)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/services/core/impl/ContentPermissionServiceImpl.java
Wed Sep 28 11:47:32 2005
@@ -35,9 +35,9 @@
 import org.apache.ojb.broker.query.QueryFactory;
 import org.apache.portals.graffito.exception.ContentManagementException;
 import org.apache.portals.graffito.model.core.CmsObject;
-import org.apache.portals.graffito.model.pemission.impl.CmsPermissionImpl;
 import org.apache.portals.graffito.model.permission.CmsPermission;
 import org.apache.portals.graffito.services.core.ContentPermissionService;
+import org.apache.portals.graffito.security.impl.CmsPermissionImpl;
 
 
 /**
@@ -53,8 +53,8 @@
      * @see org.apache.portals.graffito.services.core.ContentPermissionService#createPermission(java.lang.String,
java.lang.String)
      */
     public CmsPermission createPermission(String name, String actions) throws ContentManagementException
-    {
-        return new CmsPermissionImpl(name, actions);
+    {        
+    	return new CmsPermissionImpl(name, actions);
     }
 
     /**



Mime
View raw message