LDAP user groups is reset to empty after login (OD-44)
bufferUnderrun opened 6 years ago

After a new LDAP user was connected in OneDev, the onedev admin set him group "Dev" which has role "Can Create Projects". Each time this user or another ldap user logout/login in OneDev, the group is reset to empty

This issue does not occur for pure user created in OneDev.

  • bufferUnderrun changed title 6 years ago
    Previous Value Current Value
    Belonging Groups to a LDAP user is reset to empty after login
    LDAP user groups is reset to empty after login
  • bufferUnderrun commented 6 years ago

    Maybe i misunderstand how the group feature works with LDAP account ?

    The group created in OneDev must corresponding by name to my user's ldap group ?

  • Robin Shen commented 6 years ago

    If group retrieval strategy is set to either get groups using attribute or search groups using filter (or group search base is specified if you are using AD authenticator), OneDev will respect associated groups defined at LDAP side. Any groups specified at OneDev side will be removed after next login.

    To define user groups at OneDev side, just tell OneDev not to retrieve groups from LDAP.

  • Robin Shen commented 6 years ago

    @bufferUnderrun please verify

  • bufferUnderrun commented 6 years ago

    @robin i see, that's a perfect work. Thanks. You can close this ticket.

  • Robin Shen changed state to 'Closed' 6 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Bug
Priority
Normal
Assignee
Not assigned
Issue Votes (0)
Watchers (2)
Reference
OD-44
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover