forked from jgraichen/redmine_dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
23 lines (19 loc) · 758 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'redmine'
require 'haml'
Redmine::Plugin.register :redmine_dashboard do
name 'Redmine Dashboard plugin'
author 'Jan Graichen'
description 'Add a task board and a planning board to Redmine'
version '2.2.4'
url 'https://github.com/jgraichen/redmine_dashboard'
author_url 'mailto:jg@altimos.de'
requires_redmine :version_or_higher => '2.1'
project_module :dashboard do
permission :view_dashboards, {
:rdb_dashboard => [:index ],
:rdb_taskboard => [:index, :filter, :move, :update ] }
permission :configure_dashboards, { :rdb_dashboard => [:configure] }
end
menu :project_menu, :dashboard, { :controller => 'rdb_dashboard', :action => 'index' },
:caption => :menu_label_dashboard, :after => :new_issue
end