•  
      request #11621 LDAP display name vs group name in sync view
    Infos
    #11621
    Jonathan Palm (palm)
    2018-08-09 10:31
    2018-06-14 08:21
    11966
    Details
    LDAP display name vs group name in sync view
    In the admin view where we bind an LDAP group to sync group membership, the display name is shown, but an error is present saying it cannot find this as one should instead use the underlying LDAP name.

    The UI should be altered so that one can find the LDAP group through either the underlying LDAP name or the display name, or at least so it stays consistent.
    Authentication & LDAP
    10.1
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Patricia Carrasco (pcar), Stephan Bill (stephanbill), Kristofer Sandlund (krisan)
    Stage
    Empty
    Closed
    2018-08-09
    Attachments
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-08-09 10:31
    gerrit #12252 has been integrated in Tuleap 10.3.99.123.


    Thanks for the contribution @palm!

    • Status changed from Under implementation to Closed
    • Close date set to 2018-08-09
    User avatar

    We are busy finishing 10.3 release, we will review you other contribution after the release.

    User avatar
    Jonathan Palm (palm)2018-07-16 15:05
    I've made some changes according to the feedback. Feel free to check them out on gerrit when you've got the time :)
    User avatar
    Jonathan Palm (palm)2018-06-28 08:18
    Alright, "alt2" it is. I'll go ahead and start implementing this ASAP. I appreciate the feedback!
    User avatar

    Could you share a pseudo mockup of what you have in mind in term of UI (even a wireframe would be OK) ?

    User avatar
    Jonathan Palm (palm)2018-06-27 11:25
    It is precisely the behavior of $sys_ldap_search_user that I want to replicate for groups.

    I think having a small UI tweak could be useful, so that it is possible to see both the LDAP name and the display name when searching. This becomes especially useful when the LDAP cn attribute is completely non-descriptive and unrelated to the group name one would want to show to the project admin. Simply keeping it on the form of "display_name (cn)" in autocomplete would probably suffice for us.

    Would this UI tweak be reasonable?
    User avatar

    I'm not sure the UI should be aware of the CN vs display_name, I think it would be better to extends the search to add an extra field (maybe as it's done for $sys_ldap_search_user).

    That would mean a new variable $sys_ldap_search_group, if the variable is defined, it's used to search, otherwise there is fallback on cn search.

    What do you think ?

    User avatar
    Jonathan Palm (palm)2018-06-27 08:27
    So the feature would be to make it so that the LDAP plugin will either search for the cn (the current behavior) or a "display name" (should be defined in the config) and make suggestions depending on the best match