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
c6e832cb
Commit
c6e832cb
authored
Mar 25, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trimmed permission settings since base-class settings are now inherited.
parent
a8d1f08a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
22 deletions
+7
-22
lib/python/OFS/DTMLDocument.py
lib/python/OFS/DTMLDocument.py
+2
-14
lib/python/OFS/DTMLMethod.py
lib/python/OFS/DTMLMethod.py
+5
-8
No files found.
lib/python/OFS/DTMLDocument.py
View file @
c6e832cb
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""DTML Document objects."""
"""DTML Document objects."""
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
InstanceDict
,
TemplateDict
from
DocumentTemplate.DT_Util
import
InstanceDict
,
TemplateDict
from
ZPublisher.Converters
import
type_converters
from
ZPublisher.Converters
import
type_converters
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
...
@@ -113,19 +113,7 @@ class DTMLDocument(DTMLMethod, PropertyManager):
...
@@ -113,19 +113,7 @@ class DTMLDocument(DTMLMethod, PropertyManager):
)
)
__ac_permissions__
=
(
__ac_permissions__
=
(
(
'View management screens'
,
(
'manage'
,
'manage_main'
,
'manage_editForm'
,
(
'Change DTML Documents'
,
(
'manage_edit'
,
'manage_upload'
,
'PUT'
)),
'manage_tabs'
,
'manage_uploadForm'
,
'manage_workspace'
,
'document_src'
)),
(
'Access contents information'
,
(
'PROPFIND'
,)),
(
'Change permissions'
,
(
'manage_access'
,)),
(
'Change DTML Documents'
,
(
'manage_edit'
,
'manage_upload'
,
'PUT'
)),
(
'Change proxy roles'
,
(
'manage_proxyForm'
,
'manage_proxy'
)),
(
'Manage properties'
,
(
'manage_addProperty'
,
'manage_editProperties'
,
'manage_delProperties'
,
'manage_changeProperties'
,
'PROPPATCH'
)),
(
'View'
,
(
'__call__'
,
'HEAD'
,
''
)),
(
'FTP access'
,
(
'manage_FTPstat'
,
'manage_FTPget'
,
'manage_FTPlist'
)),
(
'Delete objects'
,
(
'DELETE'
,)),
)
)
def
__getstate__
(
self
):
def
__getstate__
(
self
):
...
...
lib/python/OFS/DTMLMethod.py
View file @
c6e832cb
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""DTML Method objects."""
"""DTML Method objects."""
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
,
lower
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
,
lower
...
@@ -118,16 +118,13 @@ class DTMLMethod(cDocument, HTML, Acquisition.Implicit, RoleManager,
...
@@ -118,16 +118,13 @@ class DTMLMethod(cDocument, HTML, Acquisition.Implicit, RoleManager,
{
'label'
:
'Security'
,
'action'
:
'manage_access'
},
{
'label'
:
'Security'
,
'action'
:
'manage_access'
},
)
)
__ac_permissions__
=
(
__ac_permissions__
=
(
(
'View management screens'
,
(
'manage'
,
'manage_main'
,
'manage_editForm'
,
(
'View management screens'
,
'manage_tabs'
,
'manage_uploadForm'
,
(
'manage_editForm'
,
'manage'
,
'manage_main'
,
'manage_uploadForm'
,
'manage_workspace'
,
'document_src'
)),
'document_src'
)),
(
'Access contents information'
,
(
'PROPFIND'
,)),
(
'Change DTML Methods'
,
(
'manage_edit'
,
'manage_upload'
,
'PUT'
)),
(
'Change DTML Methods'
,
(
'manage_edit'
,
'manage_upload'
,
'PUT'
)),
(
'Change proxy roles'
,
(
'manage_proxyForm'
,
'manage_proxy'
)),
(
'Change proxy roles'
,
(
'manage_proxyForm'
,
'manage_proxy'
)),
(
'View'
,
(
'__call__'
,
'
HEAD'
,
'
'
)),
(
'View'
,
(
'__call__'
,
''
)),
(
'FTP access'
,
(
'manage_FTPstat'
,
'manage_FTPget'
,
'manage_FTPlist'
)),
(
'FTP access'
,
(
'manage_FTPstat'
,
'manage_FTPget'
,
'manage_FTPlist'
)),
(
'Manage properties'
,
(
'PROPPATCH'
,)),
(
'Delete objects'
,
(
'DELETE'
,)),
)
)
_state_name
=
{
'raw'
:
1
,
'globals'
:
1
,
'__name__'
:
1
,
'_vars'
:
1
,
_state_name
=
{
'raw'
:
1
,
'globals'
:
1
,
'__name__'
:
1
,
'_vars'
:
1
,
'_proxy_roles'
:
1
,
'title'
:
1
}.
has_key
'_proxy_roles'
:
1
,
'title'
:
1
}.
has_key
...
...
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