Rights on TouchUI overlay button
Hello everyone,
Working on AEM 6.1, one of my customer is asking for a delete button on the asset page.
In order to do it, I've just overlay the asset page by creating /apps/dam/gui/content/assets/assetpage... until overlay actions buttons.
The button is here and I'm able to make it work in order to delete the current asset.
My issue is about the button visibility. I want him to be visible only by users that can delete the asset (policies).
I look at the edit button related nodes in /libs (which is not visible when the user didn't have modification rights) but i still don't get how this button disapear regarding users rights...
If anyone can help...
Thanks in advance and forgive my english :)
Grégory