how to create a group that replicate OOO Content-Author group using Apache Sling Repo Init script? | Community
Skip to main content
Level 4
December 28, 2021
Solved

how to create a group that replicate OOO Content-Author group using Apache Sling Repo Init script?

  • December 28, 2021
  • 1 reply
  • 2692 views

I have a use case, where i need to restrict non admin user(Content-Author) to delete/modify/move for certain site path using Repo Init script json.

 

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 arunpatidar

Please check below for examples

https://www.nextrow.com/blog/adobe-experience-manager/getting-started-with-apache-sling-repo-init

https://drewrobinson.com/blog/aem-repository-initialization-with-repoinit

 

scripts=[
    "
    create group custom-group
    add authors to group administrators
    "
]

1 reply

arunpatidar
Community Advisor
Community Advisor
December 28, 2021

Hi,

you can set the permission with repo init script

https://sling.apache.org/documentation/bundles/repository-initialization.html

 

 

Arun Patidar
Level 4
December 29, 2021

i already went through this https://sling.apache.org/documentation/bundles/repository-initialization.html. Still looking for some example implementation repo init script.

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 29, 2021
Arun Patidar