Hi.
Using bob Swift CLI I'm try to do following action: (new to CLI)
* Fetch permission in CSV format of a space (that's done)
* Attached is permission csv file
* Run CLI command to udate that permission to another space from the CSV file.
On a note: While moving space from one to another instanace; space permission are not migrating, hence copy permission from one instance to another.
The CSV file should be like the following.
For Individual Permissions:
space, userid, permissions
For Groups based Permissions:
space, group, permissions
Please update your csv file to match like the following.
The valid permissions are
viewspace,editspace,setpagepermissions,removepage,editblog,removeblog,comment,removecomment,createattachment,removeattachment,removemail,removeowncontent,exportspace
You then would need to execute the below command to add the permissions in the space.
--action runFromCsv --file gspl2.csv --common "--action addPermissions"
When you copy a space, you can use the below command, so that the permissions are also copied.
--action copySpace --space "zclipermissions" --targetServer "http://confluence.examplegear.com" --newSpace "zclipermissionsAnotherTarget565241" --name "zclipermissionsAnotherTarget565241" --description "copied space" --replace --copyPermissions --mergePermissions --verbose
Thanks,
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.