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
- 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::Reasons
Attributes included from Policy::Authorization
Attributes included from Policy::Core
Method Summary
Methods included from Policy::Defaults
#create?, included, #index?, #manage?
Methods included from Policy::CachedApply
Methods included from Policy::Cache
#apply_with_cache, #cache_key, #cache_namespace, #context_cache_key, prepended
Methods included from Policy::Aliases
Methods included from Policy::Reasons
prepended, #with_clean_reasons
Methods included from Policy::PreCheck
#allow!, #deny!, prepended, #run_pre_checks
Methods included from Policy::Authorization
Methods included from Policy::Core
#allowed_to?, #apply, #initialize, #resolve_rule
Methods included from ActionPolicy::Behaviours::PolicyFor
#authorization_context, #authorization_namespace, #policy_for