Module: PublishingPlatform::SSO::User
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/publishing_platform_sso/user.rb
Instance Method Summary collapse
Instance Method Details
#is_in_group?(group) ⇒ Boolean
8 9 10 11 12 |
# File 'lib/publishing_platform_sso/user.rb', line 8 def is_in_group?(group) if groups groups.include?("#{PublishingPlatform::SSO::Config.app_name}/#{group}") end end |