Commit 9e05efcb authored by Romain Courteaud's avatar Romain Courteaud

Use real permission name.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8368 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd46431b
...@@ -79,7 +79,7 @@ class IndexableObjectWrapper(CMFCoreIndexableObjectWrapper): ...@@ -79,7 +79,7 @@ class IndexableObjectWrapper(CMFCoreIndexableObjectWrapper):
""" """
ob = self.__ob ob = self.__ob
allowed = {} allowed = {}
for r in rolesForPermissionOn('Access_contents_information', ob): for r in rolesForPermissionOn('Access contents information', ob):
allowed[r] = 1 allowed[r] = 1
if withnuxgroups: if withnuxgroups:
localroles = mergedLocalRoles(ob, withgroups=1) localroles = mergedLocalRoles(ob, withgroups=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