Module: ActionPolicy::Channel

Extended by:
ActiveSupport::Concern
Includes:
Behaviour, Behaviours::Namespaced
Defined in:
lib/action_policy/rails/channel.rb

Overview

Channel concern. Add ‘authorize!` and `allowed_to?` methods.

Method Summary

Methods included from Behaviours::Namespaced

prepended

Methods included from Behaviour

#allowance_to, #allowed_to?, #authorization_context, #authorization_rule_for, #authorize!, included, #lookup_authorization_policy

Methods included from Behaviours::Scoping

#authorization_scope_type_for, #authorized_scope

Methods included from Behaviours::PolicyFor

#authorization_context, #authorization_namespace, #authorization_strict_namespace, #default_authorization_policy_class, #implicit_authorization_target, #implicit_authorization_target!, #policy_for, #policy_for_cache_key