[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - security.zcml:1.1.2.3
Casey Duncan
casey@zope.com
Fri, 29 Mar 2002 11:10:09 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv3044
Modified Files:
Tag: Zope-3x-branch
security.zcml
Log Message:
Fixed well enough not to break every view. Security views still need TLC.
=== Zope3/lib/python/Zope/App/Security/security.zcml 1.1.2.2 => 1.1.2.3 ===
<!-- Role-Permission management view -->
-
+
<security:protectClass name="Zope.App.Security.RolePermissionView."
permission_id="Zope.Security"
methods="index, roles, permissions, permissionRoles, action,
@@ -43,33 +43,23 @@
methods="roles, rolesInfo"
interface="Zope.App.Security.IRegisteredObject." />
+
<browser:view name="RolePermissionsManagement"
- for="Zope.App.Security.IAttributeRolePermissionManageable."
+ for="Zope.App.OFS.Memento.IAttributeMementoStorable."
factory="Zope.App.Security.RolePermissionView." />
-<adapter factory="Zope.App.Security.AttributeRolePermissionManager."
- for="Zope.App.Security.IAttributeRolePermissionManageable."
- provides="Zope.App.Security.IRolePermissionManager."
- />
-
<!-- Principal-Permission management view -->
-
+
<security:protectClass name="Zope.App.Security.PrincipalPermissionView."
permission_id="Zope.Security"
methods="index, get_principal, unsetPermissions, denyPermissions,
grantPermissions, getUnsetPermissionsForPrincipal,
getPermissionsForPrincipal" />
+
<browser:view name="PrincipalPermissionsManagement"
- for="Zope.App.Security.IAttributePrincipalPermissionManageable."
+ for="Zope.App.OFS.Memento.IAttributeMementoStorable."
factory="Zope.App.Security.PrincipalPermissionView." />
-
-
-<adapter factory="Zope.App.Security.AttributePrincipalRoleManager."
- for="Zope.App.Security.IAttributePrincipalRoleManageable."
- provides="Zope.App.Security.IPrincipalRoleManager."
- />
-
<!-- protect Roles and Permissions -->
<security:protectClass name="Zope.App.Security.RoleRegistry.Role"