[Zope3-checkins] CVS: Zope3/src/zope/app/security/grants - annotationprincipalpermissionmanager.py:1.1.2.2 annotationprincipalrolemanager.py:1.1.2.2 annotationrolepermissionmanager.py:1.1.2.2 configure.zcml:1.1.2.2 rolepermissionmanager.py:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:47 -0500
Update of /cvs-repository/Zope3/src/zope/app/security/grants
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/security/grants
Modified Files:
Tag: NameGeddon-branch
annotationprincipalpermissionmanager.py
annotationprincipalrolemanager.py
annotationrolepermissionmanager.py configure.zcml
rolepermissionmanager.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/security/grants/annotationprincipalpermissionmanager.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/grants/annotationprincipalpermissionmanager.py:1.1.2.1 Mon Dec 23 14:32:17 2002
+++ Zope3/src/zope/app/security/grants/annotationprincipalpermissionmanager.py Tue Dec 24 07:51:16 2002
@@ -20,7 +20,7 @@
from zope.app.security.grants.localsecuritymap import LocalSecurityMap
from zope.app.security.settings import Allow, Deny, Unset
-annotation_key = 'Zope.App.Security.AnnotationPrincipalPermissionManager'
+annotation_key = 'zopel.app.security.AnnotationPrincipalPermissionManager'
class AnnotationPrincipalPermissionManager:
"""Mappings between principals and permissions."""
=== Zope3/src/zope/app/security/grants/annotationprincipalrolemanager.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/grants/annotationprincipalrolemanager.py:1.1.2.1 Mon Dec 23 14:32:17 2002
+++ Zope3/src/zope/app/security/grants/annotationprincipalrolemanager.py Tue Dec 24 07:51:16 2002
@@ -21,7 +21,7 @@
PersistentLocalSecurityMap
from zope.app.security.settings import Allow, Deny, Unset
-annotation_key = 'Zope.App.Security.AnnotationPrincipalRoleManager'
+annotation_key = 'zope.app.security.AnnotationPrincipalRoleManager'
class AnnotationPrincipalRoleManager:
"""Mappings between principals and roles."""
=== Zope3/src/zope/app/security/grants/annotationrolepermissionmanager.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/grants/annotationrolepermissionmanager.py:1.1.2.1 Mon Dec 23 14:32:17 2002
+++ Zope3/src/zope/app/security/grants/annotationrolepermissionmanager.py Tue Dec 24 07:51:16 2002
@@ -24,7 +24,7 @@
PersistentLocalSecurityMap
from zope.app.security.settings import Allow, Deny, Unset
-annotation_key = 'Zope.App.Security.AnnotationRolePermissionManager'
+annotation_key = 'zope.app.security.AnnotationRolePermissionManager'
class AnnotationRolePermissionManager:
"""
=== Zope3/src/zope/app/security/grants/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/grants/configure.zcml:1.1.2.1 Mon Dec 23 14:32:17 2002
+++ Zope3/src/zope/app/security/grants/configure.zcml Tue Dec 24 07:51:16 2002
@@ -1,21 +1,21 @@
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:browser='http://namespaces.zope.org/browser'
- package="Zope.App.Security"
+ package="zope.app.security"
>
<include package=".Grants.Views" />
<content class="zope.app.security.grants.permissionroles.PermissionRoles">
<require
- permission="Zope.Security"
+ permission="zope.Security"
attributes="roles rolesInfo"
interface="zope.app.interfaces.security.IRegisteredObject" />
</content>
<content class="zope.app.security.grants.rolepermissions.RolePermissions">
<require
- permission="Zope.Security"
+ permission="zope.Security"
attributes="permissions permissionsInfo"
interface="zope.app.interfaces.security.IRegisteredObject" />
</content>
=== Zope3/src/zope/app/security/grants/rolepermissionmanager.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/security/grants/rolepermissionmanager.py:1.1.2.1 Mon Dec 23 17:22:39 2002
+++ Zope3/src/zope/app/security/grants/rolepermissionmanager.py Tue Dec 24 07:51:16 2002
@@ -23,9 +23,6 @@
__implements__ = IRolePermissionManager
- # Implementation methods for interface
- # Zope.App.Security.IRolePermissionManager
-
def grantPermissionToRole( self, permission_id, role_id ):
'''See interface IRolePermissionMap'''
self.addCell( permission_id, role_id, Allow )