forked from Scintilla/redmine_ldap_sync
-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.rb
20 lines (16 loc) · 766 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'redmine'
require File.expand_path('lib/ldap_sync/core_ext', __dir__)
require File.expand_path('lib/ldap_sync/infectors', __dir__)
require File.expand_path('lib/ldap_sync/hooks', __dir__)
Redmine::Plugin.register :redmine_ldap_sync do
name 'Redmine LDAP Sync'
author 'Ricardo Santos'
author_url 'https://github.com/thorin'
description 'Syncs users and groups with ldap'
url 'https://github.com/thorin/redmine_ldap_sync'
version '2.1.1.devel'
requires_redmine :version_or_higher => '5.0.0'
settings :default => HashWithIndifferentAccess.new()
menu :admin_menu, :ldap_sync, { :controller => 'ldap_settings', :action => 'index' }, :caption => :label_ldap_synchronization,
:html => {:class => 'icon icon-ldap-sync'}
end