Class: ActionPolicy::Base

Overview

Base class for application policies.

Constant Summary

Constants included from Policy::Aliases

Policy::Aliases::DEFAULT

Instance Attribute Summary

Attributes included from Policy::Authorization

#authorization_context

Attributes included from Policy::Core

#record, #result

Method Summary

Methods included from ScopeMatchers::ActiveRecord

relation_scope

Methods included from ScopeMatchers::ActionControllerParams

params_filter

Methods included from Policy::Defaults

#create?, included, #index?, #manage?

Methods included from Policy::CachedApply

#apply

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

included, #resolve_rule

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

included, #initialize

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