SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit a33ba0fc authored by George Katsikas's avatar George Katsikas :goat:
Browse files

fix bulk assignment of supervisors permissions

parent 9694b491
No related branches found
No related tags found
No related merge requests found
......@@ -1730,7 +1730,7 @@ def _hx_productionstream_actions_bulk_assign_officers(request):
)
if (supervisor := form.cleaned_data["supervisor"]) and not request.user.has_perm(
"production.can_perform_supervisory_actions"
"scipost.can_assign_production_supervisor"
):
messages.error(
request, "You do not have permission to assign supervisors to streams."
......
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