Project

General

Profile

Actions

Defect #37580

closed

Enable module for multiple projects

Added by Cheng-Hui PENG over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Project settings
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi there,

I have installed a new module. How do I enalbe it for multiple projects at once?
There are over 500+ projects in our redmine system, I can't enable it for projects one bye one. Is there a easy way to do that?

Actions #1

Updated by Mischa The Evil over 1 year ago

  • Status changed from New to Closed
  • Resolution set to Invalid

We don't provide support via issues which are solely meant for core issue tracking. You should post into the forums instead. I'll close this issue accordingly.

Regarding the subject: Redmine core does not provide features to achieve this using the web-UI. However, you can do this programmatically using either the console or the runner using something along the lines of:

Project.all.each do |project|
  project.enable_module!(:module_name)
end

Actions

Also available in: Atom PDF