09-17-2023 04:58 PM
Hi! There is site without system groups. For example, the test site in default model have next groups:
GROUP_site_swsdp GROUP_site_swsdp_SiteManager GROUP_site_swsdp_SiteCollaborator GROUP_site_swsdp_SiteContributor GROUP_site_swsdp_SiteConsumer
and their deleted. I can create it from Share UI or REST API but new groups created in the APP.DEFAULT and AUTH.ALF zones. It means they are in the group browser in default list. I want to move it in the system ALF. SHARE zone.
How to change the parent relation cm:inZone from ALF.DEFAULT to ALF.SHARE? Or how to recreate deleted Groups in ALF.SHARE zone?
Thanks!
09-18-2023 10:34 AM
You can specify a ZONE using the REST API, right?
https://api-explorer.alfresco.com/api-explorer/#/groups/createGroup
09-19-2023 05:09 AM
Angel thanks, but I can't.
First of all there is the comment about APP.DEFAULT zone will be created:
Second, I tryed to specify the zone in groupBodyCreate
{
"id": "test",
"displayName": "test",
"parentIds": [
"GROUP_site_swsdp"
],
"zones": [
"APP.SHARE",
"AUTH.ALF"
]
}
and it is did not work. The group was created in APP.DEFAULT zone. Here is the respond:
{ "entry": { "isRoot": false, "displayName": "test", "id": "GROUP_test", "zones": [ "APP.DEFAULT", "AUTH.ALF" ] } }
The 'include' field did not describe creation, and just format the response. I checked it too. Then I try to add some thing more then just "zones" it gave me an error.
Am I do something wrong?
Explore our Alfresco products with the links below. Use labels to filter content by product module.