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!
You can specify a ZONE using the REST API, right?
https://api-explorer.alfresco.com/api-explorer/#/groups/createGroup
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?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.