Skip to content

Commit

Permalink
Merge pull request #261 from philobr/master
Browse files Browse the repository at this point in the history
#252 Changed permission of Adressverwalter*in in Abteilung
  • Loading branch information
carlobeltrame authored Mar 29, 2023
2 parents 12fc113 + c3f646a commit 3d32a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion app/models/group/abteilung.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d32a68

Please sign in to comment.