Commit ddbe4442 authored by Hanno Schlichting's avatar Hanno Schlichting

Move permissions

parent b47ef4d6
...@@ -18,7 +18,6 @@ try: ...@@ -18,7 +18,6 @@ try:
from AccessControl.cAccessControl import PermissionRole from AccessControl.cAccessControl import PermissionRole
from AccessControl.cAccessControl import imPermissionRole from AccessControl.cAccessControl import imPermissionRole
from AccessControl.cAccessControl import _what_not_even_god_should_do 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 aq_validate
from AccessControl.cAccessControl import guarded_getattr from AccessControl.cAccessControl import guarded_getattr
from AccessControl.cAccessControl import setDefaultBehaviors from AccessControl.cAccessControl import setDefaultBehaviors
......
...@@ -28,8 +28,6 @@ add_vocabularies='Add Vocabularies' ...@@ -28,8 +28,6 @@ add_vocabularies='Add Vocabularies'
add_z_gadfly_database_connections='Add Z Gadfly Database Connections' add_z_gadfly_database_connections='Add Z Gadfly Database Connections'
add_zcatalogs='Add ZCatalogs' add_zcatalogs='Add ZCatalogs'
add_zope_tutorials='Add Zope Tutorials' 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_connections='Change Database Connections'
change_database_methods='Change Database Methods' change_database_methods='Change Database Methods'
change_external_methods='Change External Methods' change_external_methods='Change External Methods'
...@@ -67,3 +65,9 @@ view_management_screens='View management screens' ...@@ -67,3 +65,9 @@ view_management_screens='View management screens'
webdav_access='WebDAV access' webdav_access='WebDAV access'
webdav_lock_items='WebDAV Lock items' webdav_lock_items='WebDAV Lock items'
webdav_unlock_items='WebDAV Unlock 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
change_dtml_documents='Change DTML Documents'
change_dtml_methods='Change DTML Methods'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment