Skip to content
Snippets Groups Projects
Commit 6af193f2 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '9-permissions-are-broken' into 'master'

Resolve "Permissions are broken"

Closes #9

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