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
a7b62271
Commit
a7b62271
authored
Nov 28, 2003
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed permission requirements for non-existent method.
parent
b5c4893e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
12 deletions
+10
-12
lib/python/AccessControl/Owned.py
lib/python/AccessControl/Owned.py
+3
-3
lib/python/OFS/Cache.py
lib/python/OFS/Cache.py
+2
-3
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
+1
-1
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+2
-2
lib/python/webdav/Lockable.py
lib/python/webdav/Lockable.py
+2
-3
No files found.
lib/python/AccessControl/Owned.py
View file @
a7b62271
...
...
@@ -13,8 +13,8 @@
__doc__
=
'''Support for owned objects
$Id: Owned.py,v 1.
19 2002/10/01 14:09:46 gvanrossu
m Exp $'''
__version__
=
'$Revision: 1.
19
$'
[
11
:
-
2
]
$Id: Owned.py,v 1.
20 2003/11/28 16:45:32 ji
m Exp $'''
__version__
=
'$Revision: 1.
20
$'
[
11
:
-
2
]
import
Globals
,
urlparse
,
SpecialUsers
,
ExtensionClass
from
AccessControl
import
getSecurityManager
,
Unauthorized
...
...
@@ -34,7 +34,7 @@ class Owned(ExtensionClass.Base):
__ac_permissions__
=
(
(
'View management screens'
,
(
'manage_owner'
,
'owner_info'
,
'userCanChangeOwnershipType'
)),
(
'manage_owner'
,
'owner_info'
)),
(
'Take ownership'
,
(
'manage_takeOwnership'
,
'manage_changeOwnershipType'
),
(
"Owner"
,)),
...
...
lib/python/OFS/Cache.py
View file @
a7b62271
...
...
@@ -12,9 +12,9 @@
##############################################################################
__doc__
=
"""Cacheable object and cache management base classes.
$Id: Cache.py,v 1.1
1 2003/11/18 13:17:02 tseaver
Exp $"""
$Id: Cache.py,v 1.1
2 2003/11/28 16:45:33 jim
Exp $"""
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
import
time
,
sys
import
Globals
...
...
@@ -92,7 +92,6 @@ class Cacheable:
(
ViewManagementScreensPermission
,
(
'ZCacheable_manage'
,
'ZCacheable_invalidate'
,
'ZCacheable_isMethod'
,
'ZCacheable_enabled'
,
'ZCacheable_getManagerId'
,
'ZCacheable_getManagerIds'
,
...
...
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
View file @
a7b62271
...
...
@@ -65,7 +65,7 @@ class Vocabulary(Item, Persistent, Implicit,
__ac_permissions__
=
(
(
'Manage Vocabulary'
,
[
'manage_main'
,
'manage_
vocab'
,
'manage_
query'
],
[
'manage_main'
,
'manage_query'
],
[
'Manager'
]),
(
'Query Vocabulary'
,
...
...
lib/python/Shared/DC/ZRDB/DA.py
View file @
a7b62271
...
...
@@ -13,7 +13,7 @@
__doc__
=
'''Generic Database adapter'''
__version__
=
'$Revision: 1.11
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.11
3
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
,
re
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
...
...
@@ -94,7 +94,7 @@ class DA(
__ac_permissions__
=
(
(
'View management screens'
,
(
'
manage_main'
,
'
index_html'
,
'index_html'
,
'manage_advancedForm'
,
'PrincipiaSearchSource'
,
'document_src'
)),
(
'Change Database Methods'
,
...
...
lib/python/webdav/Lockable.py
View file @
a7b62271
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
"$Revision: 1.
8
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
9
$"
[
11
:
-
2
]
from
WriteLockInterface
import
WriteLockInterface
,
LockItemInterface
from
EtagSupport
import
EtagSupport
...
...
@@ -37,8 +37,7 @@ class LockableItem(EtagSupport):
security
.
declarePrivate
(
'wl_lockmapping'
)
security
.
declarePublic
(
'wl_isLocked'
,
'wl_getLock'
,
'wl_isLockedByUser'
,
'wl_lockItems'
,
'wl_lockValues'
,
'wl_lockTokens'
,)
security
.
declareProtected
(
'WebDAV Lock items'
,
'wl_grantLockToUser'
,
'wl_setLock'
)
security
.
declareProtected
(
'WebDAV Lock items'
,
'wl_setLock'
)
security
.
declareProtected
(
'WebDAV Unlock items'
,
'wl_delLock'
)
security
.
declareProtected
(
'Manage WebDAV Locks'
,
'wl_clearLocks'
)
...
...
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