Module: AuthorizedPersona::Authorization

Extended by:
ActiveSupport::Concern
Defined in:
lib/authorized_persona/authorization.rb

Instance Method Summary collapse

Instance Method Details

#authorized?Boolean

Returns:

  • (Boolean)


75
76
77
# File 'lib/authorized_persona/authorization.rb', line 75

def authorized?
  authorization_current_user && authorization_current_user.authorization_tier_at_or_above?(authorized_tier)
end