I want to move our tech writers out of the "confluence-administrators" group to their own group. This is because there is no way to prevent members of "confluence-administrators" from downloading add-ons.
However, when I do this, I need to replicate the Space Permissions that they assigned to the "confluence-administrators" group.
Can I do this with the following SQL?...
INSERT INTO [confluence].[dbo].[SPACEPERMISSIONS] SELECT [PERMID] ,[SPACEID] ,[PERMTYPE] ,'tech-writers' ,[PERMUSERNAME] ,[CREATOR] ,[CREATIONDATE] ,[LASTMODIFIER] ,[LASTMODDATE] FROM [confluence].[dbo].[SPACEPERMISSIONS] WHERE [PERMGROUPNAME] = 'confluence-administrators'
...or do I need to manually recreate the Space Permissions they set up?
There are API methods for dealing with groups, users, and permissions. The link is below. Another option would be to use Bob Swift's Conflunce CLI (command line interface) utility to automate the process. He has options for iterating through a csv and performing actions for each line of the csv ... it might make the process a little easier.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs