Do any if you know if there is a method in Confluence similar to getContentPermissionSets(String token, String contentId) to get the users or groups which have access to a Space? I can extract the ones for pages with this method but I also need to get Spaces permissions as well
I've checked the documentation and there are methods like:
* getSpaceLevelPermissions(String token)
* getPermissionsForUser(String token, String spaceKey, String userName)
* getPermissions(String token, String spaceKey)
But they are not useful as they give permissions for the current user or provides a list of permissions that may be granted to a space.
Thanks in advance for any help!
Hi Bob thanks again for the info, just one last thing. I tried your app with Confluence 3.3 and most of the methods except the getSpacePermissionList. I get:
“Client error: This action requires the Confluence release level 3.5 or higher. The release level of this server is 3.3.”
Is there any restriction with the API for version 3.3 that avoids getting this information? I'm using the latest version of the Command Line app. I'm asking because I need to find a way to extract space permissions for Confluence 3.3, so if the Command line doesn't work I would have to create a plugin to extract this info. I was thinking about the
getUsersWithPermissions methods in here http://docs.atlassian.com/atlassian-confluence/3.3/com/atlassian/confluence/security/SpacePermissionManager.html.
From your experience, do you think this would work? Or am I doing something wrong with the Command Line app?
Thanks in advance
You said earlier you were on 3.5.5? The CLI will only support this capability on 3.5.x and above as older releases were not compatible with the implementation. There are no remote APIs for this capability, the implementation renders the screens. You could customize the implementation for your specific version, but I don't have time to help you with that at this time.
Yes, I tried it with 3.5 before but the code I'm writing has to work also for 3.3 version (sorry for the confusion). I don't need to extract this information to display it in the UI.
I'm trying to build a Confluence connector and for each document I need to extract the ACLs. I have what I need for Pages but the SOAP API doesn't provide the ACLs for Spaces, so I was planning to use your CLI but since it is not compatible with version 3.3 I have to build my own plugin to get this information. So basically my question was that if you were aware of any kind of restriction with the API and versions prior 3.5 that I should considered or if it is not even possible to get this Space information if I'm using version 3.3
Thanks again for all the information!
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
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