Join the community to find out what other Atlassian users are discussing, debating and creating.
Dear all,
Would it be possible to find some user permission setting from database by using sql search? For example, we want to check some account can use some space or not ? Thank you.
That's a very long winded way of doing the job, as you'd need to build a query that reads the space settings, user tables, and groups.
Do this the easy way - space admin -> Permissions. Is your user named, or in any groups on the page? Job done.
If you really need to use it programmatically, you can use the XML-RPC/JSON-RPC API by calling the getPermissionsForUser: https://developer.atlassian.com/confdev/confluence-rest-api/confluence-xml-rpc-and-soap-apis/remote-confluence-methods#RemoteConfluenceMethods-Permissions.1
That will tell you if a user can use some space.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hsu,
Nic's option is the best way to find the user's permissions, but if you'd like to improve your SQL knowledge, you can use the following plugin:
You can check the Confluence's table in your database tool manager.
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hindsight might be 2020 but looking back, a lot of cool new features rolled out in 2019. From new collaboration and organizational powers to fresh templates and handy integrations, it’s been quite th...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.