Commit 302e86c9 authored by Jérome Perrin's avatar Jérome Perrin

revert 9431, this workaround simply doesnt work.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9467 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3638fab
......@@ -665,9 +665,7 @@ be a problem)."""
# Role Definition objects, but this shows that generally speaking, this is
# not the right approach.
if not getSecurityManager().checkPermission(
Permissions.AddPortalContent, self) and\
not getSecurityManager().checkPermission(
Permissions.ChangeLocalRoles, self):
Permissions.AddPortalContent, self):
return []
def _allowedContentTypes( portal_type=None, user=None, portal_path=None ):
......
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