Without using LDAP, add every new user to a named group?

How would I automatically add every new user into a particular group? (Confluence 5.3.x)

In 3.5 I could add an authenticator (https://confluence.atlassian.com/display/CONF34/Automatically+Add+LDAP+users+to+the+confluence-users+Group)

Not this is not to add to confluence-users, but rather a different group.

Thanks,

M.

1 answer

Hi Martin,

You could use the Confluence CLI:

https://marketplace.atlassian.com/plugins/org.swift.confluence.cli

There is a method you can call to addusertogroup:

https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-addUserToGroup

You'd need a way to trigger this job to run when a user logs in for the first time. This most likely would take a trigger on the database, possibly on the logininfo table. Any time a user logs in for the first time it should be recorded there.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you