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

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

Methods included from Behaviours::PolicyFor

#authorization_context, #authorization_namespace, #policy_for