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?
E.g.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, you have to be a more specific. What kind of authentication are you using (crowd, jira, own)?
There can be different way to get your information.
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.