-
Notifications
You must be signed in to change notification settings - Fork 30
/
init.rb
21 lines (19 loc) · 1015 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'redmine'
require_relative 'lib/redmine_multiprojects_issue/hooks'
Redmine::Plugin.register :redmine_multiprojects_issue do
name 'Redmine Multiple Projects per Issue plugin'
author 'Vincent ROBERT'
description 'This plugin for Redmine allows more than one project per issue.'
version '5.0.2'
url 'https://github.com/nanego/redmine_multiprojects_issue'
author_url 'mailto:[email protected]'
requires_redmine_plugin :redmine_base_deface, :version_or_higher => '0.0.1'
requires_redmine_plugin :redmine_base_stimulusjs, :version_or_higher => '1.0.1'
settings :default => { 'custom_fields' => []},
:partial => 'settings/redmine_plugin_multiprojects_issue_settings'
activity_provider :issues_from_current_project_only, :class_name => ['Issue', 'Journal'] unless Rails.env.test?
project_module :issue_tracking do
permission :link_other_projects_to_issue, {}, :require => :member
permission :view_related_issues_in_secondary_projects, {}, :read => true
end
end