I am currently creating a new space in confluence with REST. From what I have read it is not possible to add space permissions that way. Therefore I am now trying to to use the Java API. However I can't figure out how I am supposed to add the permissions there. All the classes I have found can only read the permissions (SpaceManager, SpacePermissionManagerInternal, SpacePermissionManager, Space)
I want to know if there is any way to give a User a permission in a Confluence Space.
@Emanuel Konringer Also look at this code base from Atlassian Copy Space Plugin, it will give you some ideas - https://bitbucket.org/atlassianlabs/confluence-copy-space-plugin/src/master/plugin/src/main/java/com/atlassian/confluence/plugin/copyspace/DefaultCopySpaceManager.java
Specially copySpacePermissions method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunatly I can't use this class - I need to set the permissions in the whole space.
I've tried it before and it didn't work, but now this worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.