Project

General

Profile

Pre-processing LDAP attributes

Added by Jorge López almost 15 years ago

Hello,

I'm using Redmine 0.8.3 configured with LDAP authentication. LDAP stores users first and last name with uppercase strings, and so they get displayed that way in every Redmine page.

Is there any way to pre-process LDAP attributes before they get stored in Redmine? I would like to capitalize just the first character of every word from LDAP.

I have seen a function in Ruby that does that (http://www.rubyonrailsexamples.com/ruby-strings/capitalize-the-first-character-of-multi-word-string/), but I don't know how to integrate it without modifying Redmine core.

Thank you.