Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ddbe4442
Commit
ddbe4442
authored
May 16, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move permissions
parent
b47ef4d6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
src/AccessControl/ImplC.py
src/AccessControl/ImplC.py
+0
-1
src/AccessControl/Permissions.py
src/AccessControl/Permissions.py
+6
-2
src/DocumentTemplate/permissions.py
src/DocumentTemplate/permissions.py
+2
-0
No files found.
src/AccessControl/ImplC.py
View file @
ddbe4442
...
...
@@ -18,7 +18,6 @@ try:
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
...
...
src/AccessControl/Permissions.py
View file @
ddbe4442
...
...
@@ -28,8 +28,6 @@ add_vocabularies='Add Vocabularies'
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 @@ view_management_screens='View management screens'
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
src/DocumentTemplate/permissions.py
0 → 100644
View file @
ddbe4442
change_dtml_documents
=
'Change DTML Documents'
change_dtml_methods
=
'Change DTML Methods'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment