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?
TIA...Chuck
Use the web interfce or the API to make a change like that ... bad idea to do it in SQL.
So, are you saying there's a way to do this in one fell swoop using the web interface, or through an API?
Or are you saying I have to do set up the permissions one-at-a-time?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.