Hide Irrelevant Submission Action Buttons #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracking this in an issue instead of letting it float in chat.
Submission action buttons should only be visible when the user has the required Role AND the submission is in the right status to perform the action.
Use the
/api/session/rolesendpoint to get the current user's roles.Comment embed (note the scroll bar):
Hide Irrelevant Submission Actionsto Hide Irrelevant Submission Action Buttons