Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Hide "Restore Revision" button when user is missing relevant permissions #10314

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

duncanmcclean
Copy link
Member

This pull request fixes an issue where the "Restore Revision" button would be shown in a revision preview stack, even when the user is missing the relevant permissions.

Fixes #10279.

@jasonvarga jasonvarga merged commit af2b4f1 into 5.x Jun 24, 2024
17 checks passed
@jasonvarga jasonvarga deleted the fix/hide-revision-button-showing-without-permissions branch June 24, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User with read-only role can restore revisions
2 participants