For object_view forms, test action by calling it with a special parameter...
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
Showing
Please register or sign in to comment