Thank you all for your quick response.Though its not recommended way to
achieve this in AEM author instance ,we have requirement like thisAs of
now to solve this issue .i have added below code inside XYZ component
jsp.If XYZ component property-A = Logged in author Attribute-1
componentContext.setDecorate(true) (show dialog editabr with edit &
delete options)Else componentContext.setDecorate(false) (hide dialog
editabr with edit & delete options)Please let me know in case if there
is any better w...