Module: ActionPolicy::Graphiti

Defined in:
lib/action_policy/graphiti.rb,
lib/action_policy/graphiti/version.rb,
lib/action_policy/graphiti/behaviour.rb,
lib/action_policy/graphiti/resource_analyzer.rb,
lib/action_policy/graphiti/resource_validator.rb,
lib/action_policy/graphiti/policy_name_inferrer.rb

Overview

Top-level module for ActionPolicy - Graphiti integration

Defined Under Namespace

Modules: Behaviour, PolicyNameInferrer, ResourceAnalyzer, ResourceValidator

Constant Summary collapse

VERSION =
"0.2.1"

Class Attribute Summary collapse

Class Attribute Details

.default_authorize_ruleObject

Which rule to use when no specified (e.g. ‘authorize: true`) Defaults to `:show?`



15
16
17
# File 'lib/action_policy/graphiti.rb', line 15

def default_authorize_rule
  @default_authorize_rule
end