Somehow new users were registered but not added to the confluence-users group, so when they login to our Confluence they get an Access Denied error. So I need to find all users in Confluence that are not a member of a group so I can add them to the confluence-users group.
You may find them with following SQL query:
select u.user_name, g.group_name from cwd_user u join cwd_membership m on u.id=m.child_user_id join cwd_group g on m.parent_id=g.id join cwd_directory d on d.id=g.directory_id where (g.group_name != 'confluence-administrators' and g.group_name !='confluence-users')
Above query show users and groups names. However, it filters those users belong to
Hope it helps.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs