Class: Integral::ListPolicy
- Inherits:
-
BasePolicy
- Object
- BasePolicy
- Integral::ListPolicy
- Defined in:
- app/policies/integral/list_policy.rb
Overview
Handles List authorization
Instance Attribute Summary
Attributes inherited from BasePolicy
Instance Method Summary collapse
-
#role_name ⇒ Symbol
Role name.
Methods inherited from BasePolicy
#initialize, #manager?, #permitted_attribute?, #permitted_attributes, #unpermitted_attribute?
Constructor Details
This class inherits a constructor from Integral::BasePolicy
Instance Method Details
#role_name ⇒ Symbol
Returns role name.
5 6 7 |
# File 'app/policies/integral/list_policy.rb', line 5 def role_name :list_manager end |