Skip to content

Commit

Permalink
Treat some abo roles as only wizard managed, (#1249)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaierhofer committed Nov 19, 2024
1 parent 1030ef9 commit 6f084b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/domain/sac_cas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,18 @@ module SacCas
::Group::AboTourenPortal::Abonnent
].freeze

# Prevent those from being edited via roles UI
WIZARD_MANAGED_ROLES = [
::Group::SektionsMitglieder::Mitglied,
::Group::SektionsMitglieder::MitgliedZusatzsektion,
::Group::SektionsNeuanmeldungenNv::Neuanmeldung,
::Group::SektionsNeuanmeldungenNv::NeuanmeldungZusatzsektion
::Group::SektionsNeuanmeldungenNv::NeuanmeldungZusatzsektion,
::Group::AboMagazin::Abonnent,
::Group::AboMagazin::Neuanmeldung,
::Group::AboMagazin::Gratisabonnent,
::Group::AboTourenPortal::Abonnent,
::Group::AboTourenPortal::Neuanmeldung,
::Group::AboTourenPortal::Gratisabonnent
].freeze

###
Expand Down

0 comments on commit 6f084b3

Please sign in to comment.