OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/modules/ldap_groups/lib/open_project/ldap_groups.rb

24 lines
404 B

module OpenProject
module LdapGroups
require "open_project/ldap_groups/engine"
class << self
def settings
Setting.plugin_openproject_ldap_groups
end
def group_base
settings[:group_base]
end
def group_key
settings[:group_key]
end
def group_dn(value)
"#{group_key}=#{value},#{group_base}"
end
end
end
end