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

Show 403 (HTTP Forbidden) page when the user doesn't have enough permissions #155

Open
jraddaoui opened this issue May 3, 2019 · 0 comments

Comments

@jraddaoui
Copy link
Collaborator

jraddaoui commented May 3, 2019

We have permissions set up for some models but we're not using them anywhere. For example, we're checking directly the groups with some user model helpers in some views instead of using the permission_required decorator. Also, when the user doesn't have enough permissions, it's being redirected to another page instead of showing the 403 (HTTP Forbidden) page.

@jraddaoui jraddaoui changed the title Use permissions instead of groups in views Show 403 (HTTP Forbidden) page when the user doesn't have enough permissions May 3, 2019
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

No branches or pull requests

1 participant