Commit a7b62271 authored by Jim Fulton's avatar Jim Fulton

Removed permission requirements for non-existent method.

parent b5c4893e
......@@ -13,8 +13,8 @@
__doc__='''Support for owned objects
$Id: Owned.py,v 1.19 2002/10/01 14:09:46 gvanrossum Exp $'''
__version__='$Revision: 1.19 $'[11:-2]
$Id: Owned.py,v 1.20 2003/11/28 16:45:32 jim 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",)),
......
......@@ -12,9 +12,9 @@
##############################################################################
__doc__="""Cacheable object and cache management base classes.
$Id: Cache.py,v 1.11 2003/11/18 13:17:02 tseaver Exp $"""
$Id: Cache.py,v 1.12 2003/11/28 16:45:33 jim Exp $"""
__version__='$Revision: 1.11 $'[11:-2]
__version__='$Revision: 1.12 $'[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',
......
......@@ -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',
......
......@@ -13,7 +13,7 @@
__doc__='''Generic Database adapter'''
__version__='$Revision: 1.112 $'[11:-2]
__version__='$Revision: 1.113 $'[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',
......
......@@ -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')
......
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