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

Fix permissions

parent 2b642e57
No related branches found
No related tags found
1 merge request!16Resolve "Permissions are broken"
Pipeline #84259 failed
......@@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* Creating new seating plans was forbidden for all users.
`1.0`_
------
......
......@@ -50,7 +50,7 @@ class SeatingPlanCreateView(PermissionRequiredMixin, SuccessNextMixin, AdvancedC
model = SeatingPlan
form_class = SeatingPlanCreateForm
permission_required = "stoelindeling.add_seatingplan_rule"
permission_required = "stoelindeling.create_seatingplan_rule"
template_name = "stoelindeling/seating_plan/create.html"
success_url = reverse_lazy("seating_plans")
success_message = _("The seating plan has been created.")
......
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