Commit 278da8c9 authored by Stuart Bishop's avatar Stuart Bishop

Add Object security declaration so calls to this() in management pages

won't fail.
parent a0ffab99
......@@ -85,6 +85,7 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
icon = 'misc_/Sessions/idmgr.gif'
security = ClassSecurityInfo()
security.declareObjectPublic()
ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
'bobobase_modification_time':1, 'title_or_id':1 }
security.setDefaultAccess(ok)
......
......@@ -65,6 +65,7 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
)
security = ClassSecurityInfo()
security.declareObjectPublic()
ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
'bobobase_modification_time':1, 'title_or_id':1 }
......
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