+6

automatically add user from ldap into a role !

e lefoll 6 years ago updated by Steve Shipway 6 years ago 2

I will be fun to decide to automatically add users from ldap to a role.


I have create a folder "common"

2 roles "managers" et "users"


"manager" can edit "common"

"users"  can only read "common"


I have 100 ldap users


I will need to manualy add them in the "users" role after their first connexion...


not really pleasant !

This is part of my other request at http://teampass.userecho.com/forums/1-feature-requests/topics/101-automatically-configure-user-from-ldap-on-first-login/


Basically, we want to be able to set up some autoconfiguration rules for new LDAP users - default role, and autopopulation of the name and email address from LDAP attributes.  Maybe have an LDAP attribute that holds roles?

Also this ticket http://teampass.userecho.com/forums/1-feature-requests/topics/17-manage-users-and-groups/

This is to grant roles to LDAP groups, which would also achieve what we're after.