diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7f099fb3ecfd23c0909f86f2928a7d81eb8c8aeb..8ab6d80eebe0647d1bf5d291af9e6cf540a36ea6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,6 +17,7 @@ Fixed * Data checks reported all Lesson Documentations as being during Holidays if there was no Holiday object. * Students were displayed multiple times in class register views. * Absences were counted multiple times in some class register views. +* Group owners couldn't create new seating plans. `2.1`_ - 2022-06-25 ------------------- diff --git a/aleksis/apps/alsijil/templates/alsijil/partials/lesson/tabs/seating_plan.html b/aleksis/apps/alsijil/templates/alsijil/partials/lesson/tabs/seating_plan.html index 1dcfbed7d043b1f068e8e8f7f2f74e9028aa8de7..4207f94e0801ec81b70ada3f73257acd8df26065 100644 --- a/aleksis/apps/alsijil/templates/alsijil/partials/lesson/tabs/seating_plan.html +++ b/aleksis/apps/alsijil/templates/alsijil/partials/lesson/tabs/seating_plan.html @@ -55,7 +55,7 @@ <i class="material-icons left small orange-text">warning</i> {% trans "There is no seating plan for this lesson." %} </div> - {% has_perm "stoelindeling.add_seatingplan_rule" user first_group as can_add %} + {% has_perm "stoelindeling.create_seatingplan_rule" user first_group as can_add %} {% if can_add %} <div class="row margin-bottom"> <div class="col s12"> @@ -69,7 +69,7 @@ </div> {% endif %} {% for parent_group in first_group.parent_groups.all %} - {% has_perm "stoelindeling.add_seatingplan_rule" user parent_group as can_add %} + {% has_perm "stoelindeling.create_seatingplan_rule" user parent_group as can_add %} {% if can_add %} <div class="row"> <div class="col s12">