lib/decidim/comments/admin_engine.rb in decidim-comments-0.4.0 vs lib/decidim/comments/admin_engine.rb in decidim-comments-0.4.1
- old
+ new
@@ -8,11 +8,14 @@
paths["db/migrate"] = nil
initializer "decidim_comments.inject_abilities_to_user" do |_app|
Decidim.configure do |config|
- config.admin_abilities += ["Decidim::Comments::Abilities::AdminUser"]
- config.admin_abilities += ["Decidim::Comments::Abilities::ProcessAdminUser"]
+ config.admin_abilities += [
+ "Decidim::Comments::Abilities::AdminAbility",
+ "Decidim::Comments::Abilities::ParticipatoryProcessAdminAbility",
+ "Decidim::Comments::Abilities::ParticipatoryProcessModeratorAbility"
+ ]
end
end
def load_seed
nil