Is it possible to assign a user to be the site admin over multiple Confluence sites at once? We have hundreds of sites and I need to assign 3 users to be site admins over 65 of those sites. It will be painful to do one at a time.
Hi Matt,
I see you've opened a support case with this request. The engineer answering your question mentioned that there's not a way to do this in bulk in Confluence's interface right now. They mentioned that you could add those users to a group that had space admin permission on those spaces, if you already had such a group set up. Adding one group with space admin permission and adding the 3 users to the group afterwards would take less effort than manually adding the 3 users to all 65 spaces.
As an extra note, you could utilize Confluence's REST API to modify the space permissions. In Postman for example, you could construct a POST that listed the groups or users you wanted to add space permissions for. The REST API call would then be the same for all 65 spaces - you'd just update the POST URL to match the URL of the space you wanted to modify. The documentation for the REST API endpoint for adding space permissions is here. The endpoint looks like this:
POST /wiki/rest/api/space/{spaceKey}/permission
That might help speed things along when adding the permissions to multiple spaces. Even if you don't write a script to iterate through all 65 spaces, just updating the spacekey in the URL for a POST message would be faster than going through the interface to add the permissions to each space.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.