Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,507
Community Members
 
Community Events
176
Community Groups

How do I generate list of all spaces and users that have access to each space

Hello, 

I need to generate a report on spaces and who has been granted access to them. Specifically users that are not on our domain.

I have attempted to run this query but it times out after a while. 

SELECT s.spacename as Space, u.user_name as Username
FROM spacepermissions sp
JOIN spaces s ON s.spaceid = sp.spaceid
JOIN cwd_group g ON sp.permgroupname = g.group_name
JOIN cwd_membership m ON g.id = m.parent_id
JOIN cwd_user u ON u.id = m.child_user_id
WHERE sp.permgroupname IN
(
SELECT g.group_name
FROM cwd_group g
) 
ORDER BY s.spacekey;

I would appreciate any suggestions on how to get this information? 

 

Thanks

1 answer

0 votes
Florian PEREZ Community Leader Nov 24, 2022

Hello, 

I tend to do this a more easy way but it depends on the configuration you set on permission. 

on my side we have specific group that access each space and we show the content on each group on dedicated page on each space using the user group macro. 

this way each space admin can have a quick view on member. 

Hope this help ! 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events