Class: Decidim::Assemblies::Abilities::AssemblyModeratorAbility
- Inherits:
-
AssemblyRoleAbility
- Object
- AssemblyRoleAbility
- Decidim::Assemblies::Abilities::AssemblyModeratorAbility
- Defined in:
- app/models/decidim/assemblies/abilities/assembly_moderator_ability.rb
Overview
Defines the abilities for an assembly moderator user Intended to be used with ‘cancancan`.
Instance Attribute Summary
Attributes inherited from AssemblyRoleAbility
Instance Method Summary collapse
Methods inherited from AssemblyRoleAbility
#define_abilities, #initialize
Constructor Details
This class inherits a constructor from Decidim::Assemblies::Abilities::AssemblyRoleAbility
Instance Method Details
#role ⇒ Object
9 10 11 |
# File 'app/models/decidim/assemblies/abilities/assembly_moderator_ability.rb', line 9 def role :moderator end |