-
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix only record owners can access workflow status API (#8667)
* Update workflow status API to check if user can view record (and is an editor) instead or checking owner * Change message to multilingual * remove unused messages * Update check to follow "minimum user profile allowed to view metadata history" logic * Add missing messages * Fix minimum profile not enforced * Fix cannot get status when user cannot edit * Move logic to reusable methods * Fix french messages * Update messages to use translated profile name from json * Fix record not found not handled correctly * Handle record not found for getWorkflowStatusByType
- Loading branch information
1 parent
711f9f2
commit ddd67d3
Showing
6 changed files
with
111 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.