Skip to content

Conversation

markusokon
Copy link

Currently LDAPMembershipPropagationActions uses the same attribute for writing the result into the propagation data and fetching the preexisting group memberships of the user object in LDAP. This leads to the beforeObj.getAttributeByName() call never returning any groups in the default case and therefore Syncope trying to edit groups it doesn't own/control.

This is fixed in this pull request by separating the attribute name used into one which the connector receives, containing all the group memberships after the execution, and the attribute name which is used to get all current memberships from the LDAP object.

Furthermore I added a performance optimization by searching for the groups managed by Syncope only once and not potentially hundreds of times.

@ilgrosso
Copy link
Member

ilgrosso commented Aug 21, 2025

Hi @markusokon please open an issue on JIRA to illustrate what issue this PR is going to solve.

Also, unless you have already contributed to other ASF projects, please submit your ICLA https://www.apache.org/licenses/contributor-agreements.html#clas

@ilgrosso
Copy link
Member

ilgrosso commented Sep 3, 2025

@markusokon any update?

@markusokon
Copy link
Author

Hi @ilgrosso

it's currently under discussion if this code also requires a CCLA to be signed and I will give you an update ASAP.

@ilgrosso
Copy link
Member

ilgrosso commented Oct 2, 2025

Hi @markusokon it's been about a month since last update: please let us know if there is any news, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants