# \[SOLVED\] Disallow to create organizations by default

**URL:** <https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697>\
**Category:** Install/Maintain/Configure\
**Created:** [November 12, 2018, 9:20am UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697 "2018-11-12T09:20:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://forum.gitea.com/u/Christoph)\
**Post date:** [November 12, 2018, 9:20am UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697/1 "2018-11-12T09:20:17Z")

</div>

Hello,

is it possible to set as default that users are not allowed to create new organizations?

Regards  
Christoph

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [November 12, 2018, 10:53am UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697/2 "2018-11-12T10:53:31Z")

</div>

Not sure the team has bandwidth to respond to this and since the community hasn’t yet let me just jump in and suggest creating users manually or using a webhook to trigger a job if this is an issue and it’s not covered in config. You may want to dig into the code here a little and make a proposal on gitea’s git repo.

---

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://forum.gitea.com/u/Christoph)\
**Post date:** [November 12, 2018, 11:35am UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697/3 "2018-11-12T11:35:09Z")

</div>

Config can disallow organization creation for users other than admins, but if that is done, it is not possible to re-activate the creation on a per-user basis.

---

<div class="post-metadata">

**Author:** ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://forum.gitea.com/u/Christoph)\
**Post date:** [November 12, 2018, 11:47am UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697/4 "2018-11-12T11:47:06Z")

</div>

Ah, I was wrong, from the source code I found that besides DISABLE\_REGULAR\_ORG\_CREATION there is another variable DEFAULT\_ALLOW\_CREATE\_ORGANIZATION for that. Did not read that in the app.ini.sample before, because I did not know what to look for exactly.

---

<div class="post-metadata">

**Author:** ![anon74399538](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@anon74399538](https://forum.gitea.com/u/anon74399538)\
**Post date:** [November 12, 2018, 11:55am UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697/5 "2018-11-12T11:55:18Z")

</div>

Awesome! Thanks for sharing. 🤗

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [November 23, 2018, 2:48pm UTC](https://forum.gitea.com/t/solved-disallow-to-create-organizations-by-default/697/6 "2018-11-23T14:48:14Z")

</div>


