Class: ActionPolicy::Base
- Inherits:
-
Object
- Object
- ActionPolicy::Base
- Includes:
- Policy::Aliases, Policy::Authorization, Policy::Cache, Policy::CachedApply, Policy::Core, Policy::Defaults, Policy::PreCheck, Policy::Reasons, Policy::Scoping
- Defined in:
- lib/action_policy/base.rb
Overview
Base class for application policies.
Constant Summary
Constants included from Policy::Aliases
Instance Attribute Summary
Attributes included from Policy::Authorization
Attributes included from Policy::Core
Method Summary
Methods included from ScopeMatchers::ActiveRecord
Methods included from ScopeMatchers::ActionControllerParams
Methods included from Policy::Defaults
#create?, included, #index?, #manage?
Methods included from Policy::CachedApply
Methods included from Policy::Cache
#apply, #apply_with_cache, #cache_key, #cache_namespace, #context_cache_key, included
Methods included from Policy::Scoping
#apply_scope, included, #lookup_type_from_target, #resolve_scope_type
Methods included from ActionPolicy::Behaviours::Scoping
#authorization_scope_type_for, #authorized_scope
Methods included from Policy::Aliases
Methods included from Policy::Reasons
#allowed_to?, #details, included
Methods included from Policy::PreCheck
#__apply__, #allow!, #deny!, included, #run_pre_checks
Methods included from Policy::Authorization
Methods included from Policy::Core
#__apply__, #allowed_to?, #apply, #check?, included, #initialize, #inspect_rule, #pp, #resolve_rule, #with_clean_result
Methods included from ActionPolicy::Behaviours::PolicyFor
#authorization_context, #authorization_namespace, #implicit_authorization_target, #policy_for