ccollab admin group sync |
Top Previous Next |
Usage: ccollab [global-options] admin group sync [--create-users --delete-groups] <syncfile>
sync - Sync to supplied XML
Synchronize the server's group configuration to match that of the supplied XML. However, no changes will be made to manually-created groups. See the user's manual for documentation on the XML format. You must be an Administrator to execute this command.
Examples: ccollab admin group sync /tmp/input --delete-groups cat /tmp/input | ccollab admin group sync - --create-users
Example XML input:
<groups> <group guid="groupa" title="Group A" description="The A Group concerned with initials"> <member-user login="alice" /> <member-user login="adama" /> </group> <group guid="groupb" title="Group B" description="The B Group that includes those in Group A"> <member-user login="bob" /> <member-user login="betty" /> <member-group guid="groupa" /> </group> <group guid="groupc" title="Group C" description="The C Group that is everyone." includes-all-users="true" allow-associate-with-reviews="no" > <member-group guid="groupb" /> </group> </groups> See full XML Schema. |