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

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

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Dec 29, 2021 9:03 AM UTC

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
    "
]
Arun Patidar

4 replies

arunpatidar
New Participant
Dec 28, 2021 3:33 PM UTC

Hi,

you can set the permission with repo init script

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

 

 

Translate
Arun Patidar
Level 4
Dec 29, 2021 6:55 AM UTC

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

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Dec 29, 2021 9:03 AM UTC

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
    "
]
Translate
Arun Patidar