Commit 30f0b09c authored by Evan Simpson's avatar Evan Simpson

Allow 'title' access.

parent 03c6c87e
......@@ -11,7 +11,7 @@
#
############################################################################
__version__='$Revision: 1.9 $'[11:-2]
__version__='$Revision: 1.10 $'[11:-2]
import Globals
from Persistence import Persistent
from ZODB import TimeStamp
......@@ -73,7 +73,8 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
icon = 'misc_/Sessions/idmgr.gif'
security = ClassSecurityInfo()
ok = {'meta_type':1, 'id':1, 'icon':1, 'bobobase_modification_time':1 }
ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
'bobobase_modification_time':1 }
security.setDefaultAccess(ok)
security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])
security.setPermissionDefault(ACCESS_CONTENTS_PERM,['Manager','Anonymous'])
......
......@@ -66,7 +66,8 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
security = ClassSecurityInfo()
ok = {'meta_type':1, 'id':1, 'icon':1, 'bobobase_modification_time':1 }
ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
'bobobase_modification_time':1 }
security.setDefaultAccess(ok)
security.setPermissionDefault(CHANGE_DATAMGR_PERM, ['Manager'])
security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])
......
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