Sha256: 6e3fd6b067a1b3c6b3cf8644b215553a3e81c21f7328f052aa84960ead7225d5

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Abilities
      # Defines the abilities for an assembly admin user.
      # Intended to be used with `cancancan`.
      class AssemblyAdminAbility < Decidim::Assemblies::Abilities::AssemblyRoleAbility
        def role
          :admin
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-assemblies-0.11.2 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.11.1 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.11.0.pre1 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.10.1 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.10.0 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.9.3 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.9.2 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.9.1 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb
decidim-assemblies-0.9.0 app/models/decidim/assemblies/abilities/assembly_admin_ability.rb