RepoInit Usage | Community
Skip to main content
April 1, 2024

RepoInit Usage

  • April 1, 2024
  • 3 replies
  • 1485 views

we are using repoinit to initialize creating groups and maintaining permissions.

 

This is working fine on initial creation. but on any change in the repoinit file I'm not seeing the permissions getting updated unless i remove the  parent folder path.

where all the users and groups are created 

 

Just wanted to check if I'm missing something here

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Jagadeesh_Prakash
Community Advisor
Community Advisor
April 1, 2024

@pradeep_varmape  can you check if you have added below path in filter.xml file

 

<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/project-name/osgiconfig"/>
</workspaceFilter>
April 1, 2024

yes the configs are loaded, just that the groups/users or not getting created if users and group is already present

April 1, 2024

@pradeep_varmape  can u send me the repoint  file 


{
"scripts": [
"create path /home/groups/test(rep:AuthorizableFolder)",
"create group test_users with forced path /home/groups/test",
"set properties on authorizable (test_users)/profile\n set givenName to \"Test AUthors\"\nend",
"add test_users to group contributor",
"create group TEST_USERS_1 with forced path /home/groups/test",
"set properties on authorizable (TEST_USERS_1)/profile\n set givenName to \"Test AUthors1\"\nend",
"add TEST_USERS_1 to group test_users"
]

this was the inital configuration, suppose i want to delete TEST_USERS_1 from test_users group at a later stage how do i update the configuration 

arunpatidar
Community Advisor
Community Advisor
April 8, 2024

Hi @pradeep_varmape 

Were the user suggestions helpful? Let us know if more details are needed or mark the answer as correct. If you found a solution independently, please share it with the community.

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
May 16, 2024

@pradeep_varmape  Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni