Rights on TouchUI overlay button

Avatar

Avatar
Validate 1
Level 2
gregoryp3536631
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
gregoryp3536631
Level 2

Likes

2 likes

Total Posts

23 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
gregoryp3536631
Level 2

21-01-2016

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

View Entire Topic

Avatar

Avatar
Boost 3
Employee
Gilles_Knobloch
Employee

Likes

4 likes

Total Posts

11 posts

Correct reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 3
Employee
Gilles_Knobloch
Employee

Likes

4 likes

Total Posts

11 posts

Correct reply

4 solutions
Top badges earned
Boost 3
Boost 1
Affirm 3
Affirm 1
View profile
Gilles_Knobloch
Employee

25-01-2016

I wouldn't add the ACL on that button itself, but use a render condition like the one in the code sample:

Put such a config as a "rendercondition" child node of your button.