Local user registration

AI-generated summary

ric79 is seeking a solution to approve external users with personal emails before they can post or see the forum, while allowing colleagues authorized via LDAP to access the forum without restrictions.

blake suggests that the “must approve users” setting may conflict with LDAP login and proposes a feature request to whitelist users with specific email domains. blake also shares a related meta discussion on the topic.

ric79 implements a workaround by creating a “userOK” group, where LDAP users are added automatically, and external users must email him to be added to the group. All categories are restricted to the “userOK” group.

codinghorror points out the existence of an “email domains whitelist” site setting, but notes that it does not bounce non-whitelisted domains to approval. blake clarifies that ric79 still wants to allow registration for non-whitelisted domains, but with approval required.

Hello,
my Discourse has two types of users:

  1. Collegues authorized using the LDAP of my company
  2. External consultants logged with their personal email

I would like to approve the external account before it can post/see the forum.

Is it possible?

Riccardo

There is this setting “must approve users”, but I think it will conflict with your LDAP login.

Sounds like what you need is a feature request where you can white list users with specific email domains and all others would require approval.

My solution.
I created a group “userOK” and users with LDAP are added automatically (it is based on domain name)

The other users must send me an email (forum rule) and I will add them to userOK group.

All categories are restricted to userOK group

Doesn’t this already exist? Look for the email domains whitelist site setting.

It does not bounce to approval though.

Yes but no one else will even be able to register. He still wants registration for non white listed domains but requiring approval