[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/securitypolicy/configure.zcml Bugfix:

Roger Ineichen roger at projekt01.ch
Tue Mar 22 20:09:30 EST 2005


Log message for revision 29647:
  Bugfix:
  Correct the registration for local roles.
  Since the refactoring of the edit view, there is access for 
  the edit.html view, because of a wrong registration for the 
  LocalRole class

Changed:
  U   Zope3/trunk/src/zope/app/securitypolicy/configure.zcml

-=-
Modified: Zope3/trunk/src/zope/app/securitypolicy/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/configure.zcml	2005-03-23 00:58:03 UTC (rev 29646)
+++ Zope3/trunk/src/zope/app/securitypolicy/configure.zcml	2005-03-23 01:09:30 UTC (rev 29647)
@@ -54,10 +54,6 @@
            />
 
   <!-- protect Roles and Permissions -->
-  <content class=".role.Role">
-    <allow interface=".interfaces.IRole" />
-  </content>
-
   <localUtility class=".role.LocalRole">
     <factory
         id="zope.security.role.Role"
@@ -65,6 +61,7 @@
     <require
         permission="zope.Security"
         interface=".interfaces.IRole"
+        set_schema=".interfaces.IRole"
         />
   </localUtility>
 



More information about the Zope3-Checkins mailing list