Check action guard instead of hardcoding required permission for object_view forms
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. This check is moved to all scripts that are used as form action (e.g. Base_edit), using guards. Now, it's possible to add forms that can be saved under a different condition than having 'Modify portal content' permission.
Showing
Please register or sign in to comment