Expand my Community achievements bar.

SOLVED

How to enable dynamic media smart crop button on assetdetails page. Same is available on assets.html

Avatar

Level 9

Hi All,

Not all of our users have full privilege on production DAM content and users with read access to /content/dam folder are able to access smart crop button from assets.html path
But when they try to use the smart crop from assetdetails page they are not able to see the smart crop button.

From our analysis we found that the button is disabled in assetdetails page based on a privilege condition which looks for jcr access for the suffix path but not the case with assets.html .

Any suggestions on how we can enable smartcrop option from assetdetails screen also without extending any additional edit/delete/create access to these users .

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@sherinregi 

 

What if you overlay the rendercondition by append an OR condition "to check if user belongs to a Group"

 

An example of AND render condition is available on https://gist.github.com/nateyolles/eec2f56acc7153fe9fb7dd6637e8f7ad

Belongs to a group example is : https://www.bounteous.com/insights/2020/06/10/control-aem-action-menus-render-conditions 

 

 

 


Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@sherinregi 

 

What if you overlay the rendercondition by append an OR condition "to check if user belongs to a Group"

 

An example of AND render condition is available on https://gist.github.com/nateyolles/eec2f56acc7153fe9fb7dd6637e8f7ad

Belongs to a group example is : https://www.bounteous.com/insights/2020/06/10/control-aem-action-menus-render-conditions 

 

 

 


Aanchal Sikka