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
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 !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.