Commit 56d4f41a authored by Julien Muchembled's avatar Julien Muchembled

Fix "Permission" field on ActionInformation_view form.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30259 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29b3a30c
...@@ -58,6 +58,12 @@ class ActionInformation(XMLObject): ...@@ -58,6 +58,12 @@ class ActionInformation(XMLObject):
, PropertySheet.ActionInformation , PropertySheet.ActionInformation
) )
def _setActionPermission(self, value):
# XXX IMO, List.Setter should not behave like List.ListSetter
# This is a workaround so that a value like 'Modify portal content'
# is not converted to ['Modify', 'portal', 'content'] -- jm
return self._setActionPermissionList((value,))
def _setAction(self, value): def _setAction(self, value):
"""Overridden setter for 'action' to accept strings and clean null values """Overridden setter for 'action' to accept strings and clean null values
""" """
......
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