Reorder pages without delete permission | Community
Skip to main content
Level 2
March 12, 2024
Solved

Reorder pages without delete permission

  • March 12, 2024
  • 1 reply
  • 642 views

Hey all, I am having rough time with permissions and move within AEM right now.I have the requirement that a editor without delete and publish rights should still be able to sort/reorder the pages (in list view via the dnd-handles).
I was looking and apparently this is considered a move operation. Move operation has been removed though as it requires delete and unpublish permissions.Are you aware of any other way to reorder pages / providing editors with the capabilities without the need of allowing them to delete / publish/unpublish pages?

 

I am wondering why this is considered a move as I am just changing the order of the nodes of the parent's page. There is no need to adjust any references thus I don't see why deletion and subsequentionally also unpublish rights are required

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 EstebanBustamante

Hi, 

 

By design, the "move" operation consists of copying the node to the new location and then removing the old one. Hence, you cannot perform a move without "delete" permissions.

Some options that come to mind: You could disable the "delete" and "publish" buttons in the UI based on the group. This can be achieved by using granite:renderconditions. Please check this thread: https://jpsoares.medium.com/aem-granite-render-conditions-438c804b1e5a

Another alternative to explore is to use "preprocessors" to manually check if the group can replicate (publish) a resource. Review this link: https://dileepakv.blogspot.com/2018/01/aem-replication-preprocessor.html

 

Similar thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/what-permissions-does-someone-need-to-move-content/td-p/316159 


Hope this helps

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
March 12, 2024

Hi, 

 

By design, the "move" operation consists of copying the node to the new location and then removing the old one. Hence, you cannot perform a move without "delete" permissions.

Some options that come to mind: You could disable the "delete" and "publish" buttons in the UI based on the group. This can be achieved by using granite:renderconditions. Please check this thread: https://jpsoares.medium.com/aem-granite-render-conditions-438c804b1e5a

Another alternative to explore is to use "preprocessors" to manually check if the group can replicate (publish) a resource. Review this link: https://dileepakv.blogspot.com/2018/01/aem-replication-preprocessor.html

 

Similar thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/what-permissions-does-someone-need-to-move-content/td-p/316159 


Hope this helps

Esteban Bustamante