-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Revision History shows Revert button when user only has view-only permissions #13229
Comments
Yikes, this feels higher than a P3 to me. |
It's annoying indeed, but it seems to me that the action actually fails, right? |
Mea culpa — I'm guilty of not reading that carefully. I'm inclined to leave it as a P2, though — if I'm an admin and I log in as a more restricted user account to check things out and make sure people have the correct access and then I see this, maybe I get the mistaken impression that View-only users could revert things. Even if I click and see the failure, I still am not clear what Metabase's intention is here — are View-only users supposed to be able to revert, and would they be able to if the revert had not failed? |
…missions (#15654) * Fix dashboard edit action visibility Hiding "Change title and description" from users with read-only access to dashboard * Fix dashboard archive action visibility Hiding "Archive" action from users with read-only permission to dashboard * Enable #13229 repro test * Test user with read permissions can't revert question history * Fix user with read-only permissions sees revert buttons
Fixed by #15654 |
Describe the bug
Revert button is shown even when the user doesn't have permissions to modify question.
To Reproduce
Revert failed
:Expected behavior
Revert button shouldn't be shown, when user doesn't have permissions to modify question.
Information about your Metabase Installation:
Metabase 0.36.4
The text was updated successfully, but these errors were encountered: