Skip to end of banner
Go to start of banner

How to add space permission to a group for spaces in bulk

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This article helps you to add space permission to spaces in bulk using Confluence Command Line Interface (CLI).

Instructions

Use the addPermissions action file add space permission to a group by providing the space details in a.csv file. 

  1. Create a CSV file named space.csv with the list of users as required.
  2. Execute the following CLI command to add VIEW permission for a group to spaces that are in space.csv file.

    --action runFromCsv --file "space.csv" --common "--action addPermissions --permissions "viewspace" --group "supportgroup"" --continue
  3. Once the above command is executed the view permission is added to the spaces that are provided in the .csv file.


  4. Ensure the parameter group is updated respectively with the group name.


  • Ensure that the CLI action is tested in your non-production environment before implementing the mentioned solution in the production environment.
  • No labels