Allow moving but not deleting assets in AEM as a Cloud | Community
Skip to main content
August 1, 2024

Allow moving but not deleting assets in AEM as a Cloud

  • August 1, 2024
  • 1 reply
  • 819 views

I want users to be able to move assets arbitrarily between any two given directories in AEM. However, I need them not to be able to delete assets. How can I accomplish that currently in AEM as a Cloud? I've seen a few posts about this but they all suggest options that are not available currently in the Cloud offering.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Shashi_Mulugu
Community Advisor
Community Advisor
August 2, 2024

@christianju as AEM is built on top JCR repository, move operation is nothing but deleting a node from one folder and creating in new folder. So it needs delete permission to allow move operations to work..

 

One thing we can do is to write some custom JS on top of aem UI to hide delete button on page load.. but it doesn't warrant user to delete an object technically via api or any other means..

August 2, 2024

Thanks, @shashi_mulugu. I understand. Hiding the delete button would help, but I also haven't found how to do that for AEM as a Cloud. Could you please point me in the right direction?

August 15, 2024

@shashi_mulugu - I am working with Christian on the issue above. Can you assist with regard to explaining how we do this? We are on cloud vs. on-prem 6.5 so IIRC we may need to follow a different approach to show/hide in the UI. Thanks!