Skip to content
Snippets Groups Projects

Force notifications to SAML email address for dedicated users

Merged Gosia Ksionek requested to merge force-notification-to-saml-email-ee into master
All threads resolved!
3 files
+ 4
2
Compare changes
  • Side-by-side
  • Inline
Files
3
# frozen_string_literal: true
# frozen_string_literal: true
class SamlProvider < ActiveRecord::Base
class SamlProvider < ActiveRecord::Base
USER_ATTRIBUTES_LOCKED_FOR_MANAGED_ACCOUNTS = [:email, :public_email, :commit_email, :notification_email].freeze
USER_ATTRIBUTES_LOCKED_FOR_MANAGED_ACCOUNTS = %i(email public_email commit_email notification_email).freeze
belongs_to :group
belongs_to :group
has_many :identities
has_many :identities
Loading