Skip to content

Commit

Permalink
Fix readonly instructeur permission (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
syldb authored Aug 20, 2024
1 parent c8a75aa commit 154f092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siap/custom_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,5 @@ def _find_or_create_entity(
typologie=TypeRole.INSTRUCTEUR,
administration=administration,
user=request.user,
group=Group.objects.get(name__iexact="readonly_instructeur"),
group=Group.objects.get(name__iexact=group_name),
)

0 comments on commit 154f092

Please sign in to comment.