I have Redmine integrated with a Domino server using LDAP, creating users on the fly. Everything works as expected. What I would like to do is modify the on the fly creation to setup a default project/role when the user is created. This will eliminate the need to manually set project/role for hundreds of casual view-only users.
I can track down where this takes place (user.rb - try_to_login), but being a Ruby Noobie I am completely out of my element when it comes to understanding the persistence mechanism and how I create a new member relation with user, project and role ids.
Any ideas would be greatly appreciated.