Class: Integral::CategoryPolicy
- Inherits:
-
BasePolicy
- Object
- BasePolicy
- Integral::CategoryPolicy
- Defined in:
- app/policies/integral/category_policy.rb
Overview
Handles Category 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/category_policy.rb', line 5 def role_name :post_manager end |