Skip to content
Snippets Groups Projects
Verified Commit 09735cd7 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix permission bug in participations

parent 6598bc9a
No related branches found
No related tags found
1 merge request!368Do releases 4.0.0.dev1 and .dev2
......@@ -71,7 +71,7 @@ class DocumentationType(PermissionsTypeMixin, DjangoFilterMixin, DjangoObjectTyp
@staticmethod
def resolve_participations(root: Documentation, info, **kwargs):
if not info.context.user.has_perm(
"alsijil.view_participation_status_for_documentation", root
"alsijil.view_participation_status_for_documentation_rule", root
):
return []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment