Can public sign up users be auto added to a group?

Is it possible to determine that people who sign up through the login page are automatically added to a specific group in Confluence? I need to have some control over who comes in.

3 answers

1 accepted

Hallo Pohlvault

If your Confluence site is connected to an LDAP server, then you can auto-assign new users to a group. To make this work, you need to choose the the 'Read Only, with Local Groups' option when configuring the LDAP connection. The "Default Group Memberships" option will then appear. For instructions and implications, see the documentation:

http://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory#ConnectingtoanLDAPDirectory-AddingUserstoGroupsAutomatically

This would affect all new users, which makes the signups safe. When adding new users who need more privileges, the administrator would need to assign the additional groups. That is probably part of their procedures anyway.

I hope this helps. :)

Cheers, Sarah

Thanks! This is great news for me, since we do use LDAP.

As far as I can tell, if I do it this way, I need to do all user management directly in LDAP, not through the Confluence admin. Is that right?

Yes, that's right, with one exception. You can add groups through the Confluence admin. They will go into the Confluence interal directory (on the Confluence database) and not into the LDAP server. You can then add the LDAP users to those groups. All other user and group management must happen on the LDAP server.

Cheers, Sarah

This can't be achieved in confluence nor by using a plugin.

But you could write your own plugin containing a listener module listening to the UserCreateEvent.
Afterwards it's quite easy to add every new user to a defined group.

Here you can find more infos about listener modules:

https://developer.atlassian.com/display/CONFDEV/Event+Listener+Module

And the UserCreateEvent:

http://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/event/events/user/UserCreateEvent.html

Cheers, Philipp

0 vote
David Simpson Community Champion Nov 23, 2011

Conversely, you could add everyone else to another group e.g. internal-users.

You can then exclude signups from certain sections/spaces by using the internal-users group.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

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 ...

521 views 19 11
Join discussion

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