From 9d13e8658935e644586ffc1f2db12eb4821d693e Mon Sep 17 00:00:00 2001 From: Philipp Obrist Date: Sat, 25 Mar 2023 16:38:48 +0100 Subject: [PATCH 1/3] Changed the permission of Adressverwalter*in on Abteilung --- app/models/group/abteilung.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/group/abteilung.rb b/app/models/group/abteilung.rb index ff2886141..23602216c 100644 --- a/app/models/group/abteilung.rb +++ b/app/models/group/abteilung.rb @@ -141,8 +141,9 @@ class AbteilungsleitungStv < ::Role end class Adressverwaltung < ::Role - self.permissions = [:group_and_below_full] + self.permissions = [:layer_full] end + class PowerUser < Adressverwaltung; end class Beisitz < ::Role From f65334c08cf3df4d2780972048d1133b78cb1a50 Mon Sep 17 00:00:00 2001 From: Philipp Obrist Date: Wed, 29 Mar 2023 10:38:04 +0200 Subject: [PATCH 2/3] changed permission overview in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd7c071c4..78ba06b23 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,8 @@ This hitobito wagon defines the organization hierarchy with groups and roles of * Abteilungsleiter: [:layer_and_below_full, :contact_data, :approve_applications] * Abteilungsleiter Stv: [:layer_and_below_full, :contact_data, :approve_applications] * Sekretariat: [:layer_and_below_full, :contact_data] - * Adressverwalter: [:group_and_below_full] + * Adressverwalter: [:layer_full] + * PowerUser: [:layer_full] * Präsident: [:group_read, :contact_data] * Vize Präsident: [:group_read, :contact_data] * Präsident APV: [:group_read] From c3f646a32ea8e4e5cad3e25044b7a2a9d418518c Mon Sep 17 00:00:00 2001 From: Philipp <122129110+philobr@users.noreply.github.com> Date: Wed, 29 Mar 2023 10:39:25 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 78ba06b23..c1198e7f7 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ This hitobito wagon defines the organization hierarchy with groups and roles of * Abteilungsleiter Stv: [:layer_and_below_full, :contact_data, :approve_applications] * Sekretariat: [:layer_and_below_full, :contact_data] * Adressverwalter: [:layer_full] - * PowerUser: [:layer_full] + * PowerUser: [:layer_full] * Präsident: [:group_read, :contact_data] * Vize Präsident: [:group_read, :contact_data] * Präsident APV: [:group_read]