Restrict edit/delete options in author dialog for parsys child components AEM 6.2
Hi,
We have below use case in our project.
1) There will be multiple instances of a custom component (name:XZY) created under parsys component in a page in author instance.
2) XYZ contains 3 properties (property-A , property-B,property-C) .
3) Multiple authors can access this page and should be able to see all the XYZ component instances created within this pasrsys
4) But those authors should be restricted with option to edit only few instances of XYZ component but not all.
5) The restriction is based on the one of the paramater of logged in author (Author has multiple attributes i.e Attribute-1,Attribute-2,Attribute-3).
i.e provide cq:editConfig (edit/delete) options for XYZ component instance which matches below criteria
XYZ component property-A = Logged in author Attribute-1
if the above criteria doesn't met then we have to just display the XZY instance without edit options.
Thanks in Advance.
Regards,
Sagar