kakwa / ldapcherry

Web UI for managing users and groups in multiple directory services.
MIT License
225 stars 70 forks source link

List of all the users in each AD group #44

Closed mlf4aiur closed 5 years ago

mlf4aiur commented 5 years ago

We are using LdapCherry to manage user roles, we need to assign user to some roles temporary, so we need to review the users in particular roles, is it possible to make the role clickable, so that we can list the users in each AD group.

kakwa commented 5 years ago

It's unfortunately not possible.

LdapCherry by itself doesn't store roles allocation, it only deduces them on the fly, one user at a time, from the groups of this user.

Basically, to do that it would most likely require a permanent storage (aka a DB) to store role allocation which is a significant architecture change, and add deployment complexity.

As a side note, temporary role allocation is also something I have in the back of my mind as a limitation for LdapCherry.

Here is a full list of LdapCherry limitations (at least the ones I could think of):

To solve all these would most likely require a DB, which I'm a little reluctant to do at least in the base product. However, maybe as external modules, this could be done cleanly (provided that an API for such complex module is actually implemented...).