Commit ab2b8cbc authored by Jérome Perrin's avatar Jérome Perrin

protect setPropertySheetList with Manage Portal.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10269 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3801e40a
...@@ -231,7 +231,7 @@ class ERP5TypeInformation( FactoryTypeInformation, ...@@ -231,7 +231,7 @@ class ERP5TypeInformation( FactoryTypeInformation,
result.sort() result.sort()
return result return result
security.declareProtected(Permissions.ModifyPortalContent, security.declareProtected(Permissions.ManagePortal,
'setPropertySheetList') 'setPropertySheetList')
def setPropertySheetList( self, property_sheet_list): def setPropertySheetList( self, property_sheet_list):
""" """
......
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