[Zope-Checkins] SVN: Zope/branches/hannosch-dtml-vs-accesscontrol/src/ Move permissions
Hanno Schlichting
hannosch at hannosch.eu
Sun May 16 15:35:33 EDT 2010
Log message for revision 112382:
Move permissions
Changed:
U Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/ImplC.py
U Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/Permissions.py
A Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/permissions.py
-=-
Modified: Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/ImplC.py
===================================================================
--- Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/ImplC.py 2010-05-16 19:32:39 UTC (rev 112381)
+++ Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/ImplC.py 2010-05-16 19:35:33 UTC (rev 112382)
@@ -18,7 +18,6 @@
from AccessControl.cAccessControl import PermissionRole
from AccessControl.cAccessControl import imPermissionRole
from AccessControl.cAccessControl import _what_not_even_god_should_do
- from AccessControl.cAccessControl import RestrictedDTMLMixin
from AccessControl.cAccessControl import aq_validate
from AccessControl.cAccessControl import guarded_getattr
from AccessControl.cAccessControl import setDefaultBehaviors
Modified: Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/Permissions.py
===================================================================
--- Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/Permissions.py 2010-05-16 19:32:39 UTC (rev 112381)
+++ Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/Permissions.py 2010-05-16 19:35:33 UTC (rev 112382)
@@ -28,8 +28,6 @@
add_z_gadfly_database_connections='Add Z Gadfly Database Connections'
add_zcatalogs='Add ZCatalogs'
add_zope_tutorials='Add Zope Tutorials'
-change_dtml_documents='Change DTML Documents'
-change_dtml_methods='Change DTML Methods'
change_database_connections='Change Database Connections'
change_database_methods='Change Database Methods'
change_external_methods='Change External Methods'
@@ -67,3 +65,9 @@
webdav_access='WebDAV access'
webdav_lock_items='WebDAV Lock items'
webdav_unlock_items='WebDAV Unlock items'
+
+# BBB
+from DocumentTemplate import permissions
+
+change_dtml_documents = permissions.change_dtml_documents
+change_dtml_methods = permissions.change_dtml_methods
Added: Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/permissions.py
===================================================================
--- Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/permissions.py (rev 0)
+++ Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/permissions.py 2010-05-16 19:35:33 UTC (rev 112382)
@@ -0,0 +1,2 @@
+change_dtml_documents='Change DTML Documents'
+change_dtml_methods='Change DTML Methods'
Property changes on: Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/permissions.py
___________________________________________________________________
Added: svn:eol-style
+ native
More information about the Zope-Checkins
mailing list