You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.The text was updated successfully, but these errors were encountered: