Skip to content

Commit

Permalink
Do not transmit gratis abo magazin roles to abacus (#1561) (#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
codez authored Jan 24, 2025
1 parent 014ef6f commit ea2e980
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/domain/sac_cas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ module SacCas

ABONNENT_MAGAZIN_ROLES = [
::Group::AboMagazin::Abonnent,
::Group::AboMagazin::Gratisabonnent,
::Group::AboMagazin::Neuanmeldung
].freeze

Expand Down
2 changes: 0 additions & 2 deletions app/models/group/abo_magazin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class Neuanmeldung < ::Role
end

class Gratisabonnent < ::Role
include Roles::AbacusTransmittable

self.permissions = []
self.basic_permissions_only = true
end
Expand Down

0 comments on commit ea2e980

Please sign in to comment.