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
Views
Replies
Total Likes
@pradeep8910 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>
yes the configs are loaded, just that the groups/users or not getting created if users and group is already present
@pradeep8910 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
@pradeep8910 ,Please try this
if it is group:
delete group TEST_USERS_1
for more info: Apache Sling :: Repository Initialization (repoinit)
Hi @pradeep8910
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.
@pradeep8910 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.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies