Commit 5f49d6bf authored by Chris McDonough's avatar Chris McDonough

Adding title_or_id to list of allowed attributes.

parent a02f56f8
......@@ -11,7 +11,7 @@
#
############################################################################
__version__='$Revision: 1.15 $'[11:-2]
__version__='$Revision: 1.16 $'[11:-2]
import Globals
from Persistence import Persistent
from ZODB import TimeStamp
......@@ -84,7 +84,7 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
security = ClassSecurityInfo()
ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
'bobobase_modification_time':1 }
'bobobase_modification_time':1, 'title_or_id':1 }
security.setDefaultAccess(ok)
security.setPermissionDefault(MGMT_SCREEN_PERM, ['Manager'])
security.setPermissionDefault(ACCESS_CONTENTS_PERM,['Manager','Anonymous'])
......
......@@ -67,7 +67,7 @@ class SessionDataManager(Item, Implicit, Persistent, RoleManager, Owned, Tabs):
security = ClassSecurityInfo()
ok = {'meta_type':1, 'id':1, 'title': 1, 'icon':1,
'bobobase_modification_time':1 }
'bobobase_modification_time':1, 'title_or_id':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