How to enable dynamic media smart crop button on assetdetails page. Same is available on assets.html | Community
Skip to main content
sherinregi-1
Community Advisor
Community Advisor
June 25, 2024
Solved

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

  • June 25, 2024
  • 1 reply
  • 587 views

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 .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@sherinregi-1 

 

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 

 

 

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
June 25, 2024

@sherinregi-1 

 

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