You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi, how can i see if a group is used in permissions if I am not able to use SQL ?
Or how do i start using SQL for confluence
Hello @Björn Annerskog ,
You can try to iterate over spaces and get each space permissions:
https://<SITE>.atlassian.net/wiki/api/v2/spaces/<SPACE_ID>/permissions
the result will contain all group and their IDs:
"results": [
{
"id": "111111",
"principal": {
"type": "group",
"id": "aaa-d111-451d-aaaaaaaaa"
},
"operation": {
"key": "delete",
"targetType": "attachment"
}
},
{
"id": "2222222",
"principal": {
"type": "group",
"id": "asdasdasd-d845-45cc-asdasd-asdasd"
},
"operation": {
"key": "delete",
"targetType": "blogpost"
}
}
]
Then by the group ID, you can check if the group you need is present in a space:
https://<SITE>.atlassian.net/wiki/rest/api/group/confluence-users
It looks like finding the permissions isn't really possible without manual work - see this feature suggestion. You could try using rest api to query each space permissions and find it that way.
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.