In my authorable component i want to disable the delete permission how can i achive it. Only developer can delete the component. Author cannot delete the component. Author can only authorable the component. | Community
Skip to main content
Ricky99999
Level 4
July 8, 2017
Solved

In my authorable component i want to disable the delete permission how can i achive it. Only developer can delete the component. Author cannot delete the component. Author can only authorable the component.

  • July 8, 2017
  • 2 replies
  • 1008 views

In my authorable component i want to disable the delete permission how can i achive it. Only developer has a permission to delete it.

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 Ricky99999

hi

If i give

cq:actions   string[]  edit  

in cq:editConfig

Then the author has only edit option. Author cannot delete the Component

2 replies

smacdonald2008
Level 10
July 8, 2017

Once an AEM user has access to that page - they can delete/add components. AEM does not support a dev deleting a component and a author not being able to delete it.

Ricky99999
Ricky99999AuthorAccepted solution
Level 4
July 19, 2017

hi

If i give

cq:actions   string[]  edit  

in cq:editConfig

Then the author has only edit option. Author cannot delete the Component