# Local user registration

**URL:** <https://meta.discourse.org/t/local-user-registration/65764>\
**Category:** Support\
**Created:** [July 6, 2017, 7:15pm UTC](https://meta.discourse.org/t/local-user-registration/65764 "2017-07-06T19:15:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ric79](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@ric79](https://meta.discourse.org/u/ric79)\
**Post date:** [July 6, 2017, 7:15pm UTC](https://meta.discourse.org/t/local-user-registration/65764/1 "2017-07-06T19:15:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [July 6, 2017, 9:11pm UTC](https://meta.discourse.org/t/local-user-registration/65764/2 "2017-07-06T21:11:00Z")

</div>

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.

> [@How to bypass "must approve users" for some email domains?](https://meta.discourse.org/t/how-to-bypass-must-approve-users-for-some-email-domains/59938):
>
> Is there some way we can bypass “must approve users” for some email domains? Use case: We have customers whose domains we want to approve, so we do not need to approve each user manually. However, some customers of ours use free email services, and we wish to approve them manually by staff.

---

<div class="post-metadata">

**Author:** ![ric79](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@ric79](https://meta.discourse.org/u/ric79)\
**Post date:** [July 6, 2017, 9:21pm UTC](https://meta.discourse.org/t/local-user-registration/65764/3 "2017-07-06T21:21:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [July 7, 2017, 2:43am UTC](https://meta.discourse.org/t/local-user-registration/65764/4 "2017-07-07T02:43:01Z")

</div>

> [@blake](#):
>
> feature request where you can white list users with specific email domains

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

It does not bounce to approval though.

---

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [July 7, 2017, 3:38am UTC](https://meta.discourse.org/t/local-user-registration/65764/5 "2017-07-07T03:38:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [June 8, 2024, 12:44pm UTC](https://meta.discourse.org/t/local-user-registration/65764/6 "2024-06-08T12:44:26Z")

</div>

This topic was automatically closed after 2528 days. New replies are no longer allowed.
