-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assign user role based on LDAP group #74
Comments
Could you make a suggestion how this is specified in ldap. Would it be sufficient to add a fields that contains the information together with a map which group maps to which role? |
I have to read up on LDAP a bit, I have no idea how this looks under the hood. |
You may want to have a look at the ldap sync routine cc-backend/internal/auth/ldap.go Line 103 in d0516f1
The problem is that ldap directories might use different attributes. E.g. we use the gecos attribute for the Real name of the user. Not sure if this is filled in all the time. |
Hi,
I wanted to suggest another feature which might become handy having cc in a larger organization:
Is it possible or could we implement a way, to derive a cc user-role from LDAP groups?
For example default to 'user' for all, but have employees automatically as 'support' role members.
Cheers,
Pay
The text was updated successfully, but these errors were encountered: