Class: G5Updatable::ClientPolicy::Scope
- Inherits:
-
G5Authenticatable::BasePolicy::BaseScope
- Object
- G5Authenticatable::BasePolicy::BaseScope
- G5Updatable::ClientPolicy::Scope
- Defined in:
- app/policies/g5_updatable/client_policy.rb
Instance Attribute Summary
Attributes inherited from G5Authenticatable::BasePolicy::BaseScope
Instance Method Summary collapse
Methods inherited from G5Authenticatable::BasePolicy::BaseScope
Constructor Details
This class inherits a constructor from G5Authenticatable::BasePolicy::BaseScope
Instance Method Details
#resolve ⇒ Object
9 10 11 12 |
# File 'app/policies/g5_updatable/client_policy.rb', line 9 def resolve return scope.all if has_global_role? client_with_roles end |