Sha256: 8c413973d824a49dbf74c15df4238a693be5e1702b700b066ae87455042bd7bf

Contents?: true

Size: 350 Bytes

Versions: 37

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    module Abilities
      # Defines the abilities for an admin user. Intended to be used with `cancancan`.
      class AdminAbility < Decidim::Abilities::AdminAbility
        def define_abilities
          super

          can :read, Assembly
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
decidim-assemblies-0.11.2 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.11.1 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.11.0.pre1 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.10.1 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.10.0 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.9.3 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.9.2 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.9.1 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.9.0 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.8.4 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.8.3 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.8.2 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.8.1 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.8.0 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.7.4 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.7.3 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.7.2 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.7.1 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.7.0 app/models/decidim/assemblies/abilities/admin_ability.rb
decidim-assemblies-0.6.8 app/models/decidim/assemblies/abilities/admin_ability.rb