Is there any way to know that someone has joined the confluence-administration group? I was thinking that something might end up in the logs, and I could set up a script to look for that, but I checked the log and didn't see one.
Is there any other way to accomplish this? Would it require a plugin?
select ID from groups where GROUPNAME='confluence-administrators';
And then make select to find all user with mentioned group id.
Or you can use most stupid solution like this:
curl --user username:password --insecure https://wiki.example.net/confluence/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=confluence-administrators | grep "viewuser.action?username="| sed 's/<[^>]*>//g' | tr -d ' '
Or you can make trigger in database with email notification when rows added/removed/modified.
There is a class listed in the Confluence administration -> 'profile and logging' options. If we set the 'com.atlassian.confluence.user.crowd' class logging level to 'DEBUG' we can see an entry such as the following for when a user is added to a group.
2012-10-09 12:32:28,178 DEBUG [http-1430-2] [confluence.user.crowd.CachedCrowdMembershipDao] addUserToGroup adding user [ roberto ] to group [ confluence-administrators ]
Perceivably, one could create a script that parses the logs and monitors for an entry such as this which then sends an alert email. However, there is a potential for a lot of spam in the log files and this only tells you someone has been added.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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