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

Page permissions aren't working anymore #1028

Closed
timobrembeck opened this issue Nov 23, 2021 · 0 comments · Fixed by #1041
Closed

Page permissions aren't working anymore #1028

timobrembeck opened this issue Nov 23, 2021 · 0 comments · Fixed by #1041
Assignees
Labels
‼️ prio: high Needs to be resolved ASAP. 🐛 bug Something isn't working

Comments

@timobrembeck
Copy link
Member

Describe the Bug

Since our change to a custom user model, our page object-specific permissions aren't working anymore.
Apparently, django-rules has problems with this (see dfunckt/django-rules#151).
The biggest problem is that it breaks the normal page permissions, even if page-specific permissions are disabled.

Steps to Reproduce

  1. Create a non-superuser which should have the permissions to edit all pages
  2. Login with this user and open a page form

Expected Behavior

The user should be able to edit the page

Actual Behavior

It's not possible to edit/publish the page and the following messages are shown:
Screenshot 2021-11-23 at 15-26-35 Integreat Editorial System

Additional Information

@timobrembeck timobrembeck added 🐛 bug Something isn't working ‼️ prio: high Needs to be resolved ASAP. labels Nov 23, 2021
@timobrembeck timobrembeck added this to the Version 1.0 milestone Nov 23, 2021
@david-venhoff david-venhoff self-assigned this Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
‼️ prio: high Needs to be resolved ASAP. 🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants