[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/securitypolicy/configure.zcml
clean trailing whitespaces...
Julien Anguenot
ja at nuxeo.com
Wed Oct 13 12:30:19 EDT 2004
Log message for revision 28105:
clean trailing whitespaces...
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 2004-10-13 15:52:14 UTC (rev 28104)
+++ Zope3/trunk/src/zope/app/securitypolicy/configure.zcml 2004-10-13 16:30:18 UTC (rev 28105)
@@ -6,51 +6,51 @@
<adapter factory=".rolepermission.AnnotationRolePermissionManager"
provides=".interfaces.IRolePermissionManager"
for="zope.app.annotation.interfaces.IAnnotatable"
- trusted="true"
+ trusted="true"
/>
<class class=".rolepermission.AnnotationRolePermissionManager">
- <require
+ <require
permission="zope.Security"
attributes="grantPermissionToRole denyPermissionToRole
- unsetPermissionFromRole"
+ unsetPermissionFromRole"
/>
<allow interface=".interfaces.IRolePermissionMap" />
- </class>
+ </class>
<adapter factory=".principalrole.AnnotationPrincipalRoleManager"
provides=".interfaces.IPrincipalRoleManager"
- for="zope.app.annotation.interfaces.IAnnotatable"
- trusted="true"
+ for="zope.app.annotation.interfaces.IAnnotatable"
+ trusted="true"
/>
<class class=".principalrole.AnnotationPrincipalRoleManager">
- <require
+ <require
permission="zope.Security"
attributes="assignRoleToPrincipal removeRoleFromPrincipal
- unsetRoleForPrincipal"
+ unsetRoleForPrincipal"
/>
<allow interface=".interfaces.IPrincipalRoleMap" />
</class>
<adapter factory=".principalpermission.AnnotationPrincipalPermissionManager"
provides=".interfaces.IPrincipalPermissionManager"
- for="zope.app.annotation.interfaces.IAnnotatable"
+ for="zope.app.annotation.interfaces.IAnnotatable"
trusted="true"
/>
<class class=".principalpermission.AnnotationPrincipalPermissionManager">
- <require
+ <require
permission="zope.Security"
attributes="grantPermissionToPrincipal denyPermissionToPrincipal
- unsetPermissionForPrincipal"
+ unsetPermissionForPrincipal"
/>
<allow interface=".interfaces.IPrincipalPermissionMap" />
</class>
<adapter factory=".grantinfo.AnnotationGrantInfo"
provides=".interfaces.IGrantInfo"
- for="zope.app.annotation.interfaces.IAnnotatable"
+ for="zope.app.annotation.interfaces.IAnnotatable"
/>
<!-- protect Roles and Permissions -->
@@ -63,9 +63,9 @@
id="zope.security.role.Role"
/>
<implements
- interface="zope.app.annotation.interfaces.IAttributeAnnotatable"
+ interface="zope.app.annotation.interfaces.IAttributeAnnotatable"
/>
- <require
+ <require
permission="zope.Security"
interface=".interfaces.IRole"
/>
@@ -85,18 +85,17 @@
<securityPolicy component=".zopepolicy.ZopeSecurityPolicy" />
- <role id="zope.Anonymous" title="Everybody"
+ <role id="zope.Anonymous" title="Everybody"
description="All users have this role implicitly" />
<role id="zope.Manager" title="Site Manager" />
<role id="zope.Member" title="Site Member" />
<!-- Replace the following directive if you don't want public access -->
- <grant permission="zope.View"
+ <grant permission="zope.View"
role="zope.Anonymous" />
- <grant permission="zope.app.dublincore.view"
+ <grant permission="zope.app.dublincore.view"
role="zope.Anonymous" />
<grantAll role="zope.Manager" />
-
-</configure>
+</configure>
More information about the Zope3-Checkins
mailing list