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

Expose publish, approval and feature permissions inside PermissionLevelMixin #12512

Closed
giohappy opened this issue Aug 19, 2024 · 0 comments · Fixed by #12516
Closed

Expose publish, approval and feature permissions inside PermissionLevelMixin #12512

giohappy opened this issue Aug 19, 2024 · 0 comments · Fixed by #12516
Assignees
Milestone

Comments

@giohappy
Copy link
Contributor

giohappy commented Aug 19, 2024

The PermissionLevelMixin.get_user_perms method will include the dynamically calculated permissions implemented in #8848.
They will be exposed as:

  • publish_resourcebase
  • approve_resourcebase
  • feature_resourcebase

This way they will get exposed inside the resource perms of the API response through the PermsSerializer

@giohappy giohappy added this to the 4.4.0 milestone Aug 19, 2024
mattiagiupponi added a commit that referenced this issue Aug 21, 2024
mattiagiupponi added a commit that referenced this issue Aug 21, 2024
mattiagiupponi added a commit that referenced this issue Aug 21, 2024
mattiagiupponi added a commit that referenced this issue Aug 21, 2024
mattiagiupponi added a commit that referenced this issue Aug 21, 2024
mattiagiupponi added a commit that referenced this issue Aug 21, 2024
…e PermissionLevelMixin (#12516)

* [Fixes #8848] Implment can_feature, can_publish and can_approve methods
* [Fixes #12512] comment removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants