Sha256: c99b9b4f55dfb72a9d68a41b4c8ac406d525550ae2dc91b28e57afa05daf06aa
Contents?: true
Size: 448 Bytes
Versions: 49
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true module Decidim module Comments module Abilities # Defines the abilities related to comments for a logged in admin user. # Intended to be used with `cancancan`. class AdminAbility < Decidim::Abilities::AdminAbility def define_abilities super can :manage, Comment can :unreport, Comment can :hide, Comment end end end end end
Version data entries
49 entries across 49 versions & 2 rubygems