-
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
Auto Add to Group on Login By LDAP Query [Future Wishlist] #15
Comments
Adding LDAP group management into Taiga would definitely be the next level of integration that this plugin needs. I'm interested in this and we actually thought about it in my company but never settled on how groups should be used inside Taiga and decided to leave it as is since the current behavior was enough for us. There are several aspects that should be well thought regarding group management before implementation. I do not have much time to help you implementing this, but I will give all the support I can discussing the design and functionalities 😉 Project / Role mappingFor instance, if we assume that you have one LDAP group by project, how are you going to associate them ? Maybe the easiest would be to setup a LDAP group pattern. For instance:
Such a structure would allow a system admin to only do one configuration and then create the LDAP groups matching the Taiga project's slugs, so really easy to manage. Group membershipFor as much compatibility with different LDAP systems as possible (OpenLdap, AD, ...), we should be able to define how to retrieve membership : either by attribute or group.
Problem is : how do we define the role of the user with a user attribute ? Super userIt is possible through the Django administration to setup a user as a "super user", giving him all permissions. Wouldn't it make sense to be able to define a global Taiga administration group ?
|
Lots of good ideas there. I'm wondering if there could even be a more flexible method: allow a configurable string for each group containing an ldap query? That way, taiga could be configured as flexibly as possible, possibly requiring no domain changes. This could, however, be combined with your methods above, using variables in the ldap query. One variable could be the slug of the group, for example, another the ID, etc. Thoughts? |
Additionally, in conjunction with this issue - one other major pain point we have is the invite system. Really, i'd like for an LDAP user to exist in taiga, with proper permissions. As it is now, LDAP acts to verify U/PW, but beyond that, they still have to be invited to a group, to accept the invite, etc. This issue is really the only thing stopping us from taking our taiga rollout serving about 10 users in the company to a rollout available to the entire company. I wonder if this membership code work could also handle some of this as well. |
This would be a nice feature. Is there currently a way to automatically add users by simply knowing their email? |
@irrgit I'm not really sure to understand your use case here. Anyway, I can at least tell you I do not know any existing function in Taiga that would allow mass creation of users but I guess it could be easy to do by making a small script reading user/passwords from a file and calling the API with some admin credentials. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We already can fetch users from LDAP. Thanks. Maybe this simple kind of mapping via configuation file would be sufficient.
Meaning: Members of the "projectteam" group are granted the "developer" role on project "myproject" and the "viewer" and "wikieditor" roles on project "otherproject". Note: This should be fault tolerant. If a project or a project specific role does not exist, the plugin should skip the assignment and proceed. Maybe the pattern matching could be implemented with regular expressions. |
Good afternoon, NOTE: I've already managed to validate the company's AD, I'm wanting to do this configuration with groups. |
In my org, we have a lot of team members who we'd like to automatically be part of a group, not needing to be invited. Additionally, as people come and go, we'd like to federate auth/authorization to AD, but also group membership.
Starting this ticket to track progress on a feature which would enable membership in a project based on an ldap query for each role.
When I have time, I'll start to implement, if you're interested, otherwise I'll just keep it in a fork (though I'd hate to make another fork!)
The text was updated successfully, but these errors were encountered: