diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 874f790f28751e741aa9f9a22b3ef1096f971bd9..7ca3368aeed6ae0870cc393db08489d87e2108bb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_. Unreleased ---------- +Fixed +~~~~~ + +* Creating new seating plans was forbidden for all users. + `1.0`_ ------ diff --git a/aleksis/apps/stoelindeling/views.py b/aleksis/apps/stoelindeling/views.py index 49573a9de78810158a364eb0c49bcdefc3d6b5ee..3c7027803fbdcaf597882f63d335d42792a98e37 100644 --- a/aleksis/apps/stoelindeling/views.py +++ b/aleksis/apps/stoelindeling/views.py @@ -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.")