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

Disable action buttons based on role permissions #6847

Closed
hishamco opened this issue Aug 6, 2020 · 0 comments · Fixed by #6823
Closed

Disable action buttons based on role permissions #6847

hishamco opened this issue Aug 6, 2020 · 0 comments · Fixed by #6823
Milestone

Comments

@hishamco
Copy link
Member

hishamco commented Aug 6, 2020

There was a notice behavior when we the user's role changed in the admin site, especially when you trying to click action buttons on content items

Many of us during the demo of Impersonation by @agriffard last two weeks notice a 404 when he published a content with a contributor user, I think Seb point to that too

So we need to avoid such errors before it happen, a proper way is to add a UI permissions to those action buttons, so the user will able to click the action buttons that has a permission to them

@sebastienros sebastienros added this to the 1.0.x milestone Aug 13, 2020
@agriffard agriffard changed the title Disable action buttons based on role permession(s) Disable action buttons based on role permissions Aug 27, 2020
@sebastienros sebastienros modified the milestones: 1.0.x, 1.0 Sep 9, 2021
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 a pull request may close this issue.

2 participants