Hi,
Does anybody know how could I get a list of Confluence users with Confluence Administrator rights and global space creation permission?
The problem is that the “confluence-administrators” group might not be present (e.g renamed or deleted), but I need to find a user with the mentioned priviliges.
I know about the hasPermission method, but I don’t want to iterate over all users to find the proper ones (as it might take a quite long time if there are hundreds of users).
https://developer.atlassian.com/confdev/development-resources/confluence-developer-faq/how-do-i-tell-if-a-user-has-permission-to
So is there any other way to do it without the iteration?