Commit bb9e8dbd authored by Jean-Paul Smets's avatar Jean-Paul Smets

Permissions must be concistent with ERP5 way

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26521 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10b95c96
......@@ -2406,11 +2406,11 @@ class Base( CopyContainer,
return title
return self.getId()
security.declareProtected( Permissions.View, 'Title' )
security.declareProtected(Permissions.AccessContentsInformation, 'Title' )
Title = getTitleOrId
# CMF Compatibility
security.declareProtected( Permissions.View, 'title_or_id' )
security.declareProtected(Permissions.AccessContentsInformation, 'title_or_id' )
title_or_id = getTitleOrId
security.declareProtected(Permissions.AccessContentsInformation,
......
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