Deny User Sync for given user

Avatar

Avatar

snbaem

Avatar

snbaem

snbaem

06-11-2018

Hi All,

I have set up user sync and it works fine for desired properties for users under /home. I followed User Synchronization . However for user (12345) the properties node at /home/users/1/12345/properties , I do not want the user sync to work. Is there a configuration or setting that can deny user sync for given path?

I understand that I can do the deny for a given node name, but it will be the same for all users. For eg, if I ignore 'properties' the properties node will not sync for all users, not just user 12345. In the OSGi Config "AEM Communities User Sync Listener" I set Ignorable Nodes to the path but the sync still happens for that path. It seems we can only use node names.

Please suggest.

Using AEM 6.2 SP1 FP3 cfp14

Regards,

Shubham

View Entire Topic

Avatar

Avatar

Premkarthic-7WP

Avatar

Premkarthic-7WP

Premkarthic-7WP

07-11-2018

Hi Subham

You can achieve the same by configuring "Package Filters" in Vault Package Builder Factory OSGI Factory Configuration (socialpubsync-vlt/desired config) on desired publish instance.

Filter format: path|+include|-exclude (package.filters)

Please find the attached snapshot for your reference, kindly do let me know if it helps.

1616372_pastedImage_1.png

Note : if you made the user to be part of any group, in that case sync will happen as for this case the sync is happening at group level with "rep:members" property and not on user level.

Thanks

Prem