Expand my Community achievements bar.

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.

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 4

hi

If i give

cq:actions   string[]  edit  

in cq:editConfig

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

View solution in original post

2 Replies

Avatar

Level 10

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.

Avatar

Correct answer by
Level 4

hi

If i give

cq:actions   string[]  edit  

in cq:editConfig

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