Module: Authorization
- Defined in:
- lib/declarative_authorization_padrino.rb,
lib/declarative_authorization_padrino/padrino.rb,
lib/declarative_authorization_padrino/in_model.rb,
lib/declarative_authorization_padrino/authorization.rb,
lib/declarative_authorization_padrino/obligation_scope.rb
Overview
Authorization::AuthorizationInModel
Defined Under Namespace
Modules: AuthorizationInModel, Padrino, Rails Classes: Engine, ObligationScope
Constant Summary collapse
- AUTH_DSL_FILES =
[Pathname.new(PADRINO_ROOT || '').join("config", "authorization_rules.rb").to_s]
Class Method Summary collapse
Class Method Details
.activate_authorization_rules_browser? ⇒ Boolean
:nodoc:
4 5 6 |
# File 'lib/declarative_authorization_padrino/authorization.rb', line 4 def self. # :nodoc: ::Padrino.env == :development end |