diff --git a/README.md b/README.md index cd7c071c4..c1198e7f7 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] 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