• Julien Muchembled's avatar
    For object_view forms, test action by calling it with a special parameter... · 23d8edc5
    Julien Muchembled authored
    For object_view forms, test action by calling it with a special parameter instead of hardcoding required permission
    
    Before this commit, the condition to display the 'Save' button on object_view
    actions was to check whether the user has 'Modify portal content' permission.
    
    Now, it's possible to add forms that can be saved under a different condition
    than having 'Modify portal content' permission.
    
    TODO: unit test
    23d8edc5
PythonScript.py 5.75 KB