Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Allow moving but not deleting assets in AEM as a Cloud

Avatar

Level 1

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Community Advisor

@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..

Avatar

Level 1

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?

Avatar

Level 1

@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!