Context
We suspect the issue happens when an ldap group contains lots of users (i.e 200+ users)
Bug
Some users intermittently cannot see all of their LDAP groups.
There is an inconsistency between the two views:
- Group view: The user is correctly listed as a member of the LDAP group.
- User view ("See groups button"): The same group is not listed for the user.
The issue is intermittent and does not affect all users all the time (very sporadic).
Wiping the LDAP caches solves the problem temporarily (problem appears again for different users)
In Ametys, the group directory is configured with both the member and memberOf attributes.
Steps to Reproduce (doesn't happen all the time)
- Open an LDAP group in Ametys.
- Verify that the user is listed as a member of the group.
- Open the same user.
- Click "See groups".
Expected behaviour
The link between user and ldap group should work both ways
Actual behaviour{}
The user appears in the LDAP group's member list, but the group is missing from the "See groups" view.