[
https://issues.apache.org/jira/browse/SYNCOPE-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630928#comment-13630928
]
James Flemer commented on SYNCOPE-354:
--------------------------------------
I've tested an overlay of LDAPMembershipPropagationActions without the
exclusion on DELETE and it seems to work for me. Any insight on why it was
there originally?
> LDAP Membership propagation does not process DELETE operations
> --------------------------------------------------------------
>
> Key: SYNCOPE-354
> URL: https://issues.apache.org/jira/browse/SYNCOPE-354
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.1.0
> Environment: n/a
> Reporter: James Flemer
> Labels: delete, ldap, propagation, role
>
> Configure a LDAP connector and resource, use the
> LDAPMembershipPropagationActions propagator class, add a LDAP role to a user,
> then try to remove that role. The role is removed in Syncope but not LDAP;
> the next sync will add it back in Syncope.
> In LDAPMembershipPropagationActions, line 75 (Syncope 1.1.0), there is a
> conditional on:
> ResourceOperation.DELETE != task.getPropagationOperation
> So LDAPMembershipPropagationActions refuses to process any delete operations.
> Should the operation be DELETE here (vs UPDATE)? If so,
> LDAPMembershipPropagationActions needs to deal with DELETE appropriately.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira