23 lines
675 B
Ruby
23 lines
675 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Copyright (c) 2026, Kreisjagdverband Bautzen e.V. This file is part of
|
|
# hitobito_kjv and licensed under the Affero General Public License version 3
|
|
# or later. See the COPYING file at the top-level directory.
|
|
|
|
# Arbeitsgruppen und Gruppen auf Beschluss des Vorstandes (Satzung § 11 Abs. 1f), z. B.
|
|
# Jagdhornbläsergruppe, Schießmannschaft, Naturkundemobil.
|
|
class Group::Arbeitsgruppe < Group
|
|
self.event_types = [Event]
|
|
|
|
class Leitung < Role
|
|
self.permissions = [:group_full, :contact_data]
|
|
end
|
|
|
|
class Mitglied < Role
|
|
self.permissions = [:group_read]
|
|
end
|
|
|
|
self.standard_role = Mitglied
|
|
|
|
roles Leitung, Mitglied
|
|
end
|