Manually import LDAP user

Issue #232 wontfix
Ken Watford created an issue

I have many LDAP users that I would like to place into groups. However, few of them have actually logged in to RhodeCode.

I would like to be able to tell RhodeCode to create a user entry for an LDAP user who has not yet logged in. A button on the "Add New User" view to try to import the user with the provided username would work fine.

An only slightly more complicated procedure could produce an "Import All LDAP Users" button. The search query would be much the same as in, but use an asterisk in place of the username in the combined filter to get all qualifying users.

This would be less important to me if LDAP groups were supported, since I could give users permissions that way without needing user entries. But this is easier.

Comments (2)

  1. Marcin Kuzminski repo owner

    It now in 1.2 can be done via API, that exposes create_user method. Very soon we'll extend those api methods to controlls groups and users groups, so for admins it'll be very easy to create manage scripts for ldap users

  2. Log in to comment