[PR #193] [MERGED] Restrict creating organisations by user #15214

Closed
opened 2025-11-02 11:41:29 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/193
Author: @Schwobaland
Created: 11/18/2016
Status: Merged
Merged: 12/31/2016
Merged by: @lunny

Base: masterHead: master


📝 Commits (10+)

  • c12a412 Merge pull request #1 from go-gitea/master
  • d41807e restrict creating organizations based on right on user
  • 9b5578c revert bindata.go
  • e9ab23f reverse vendor lib
  • 3e950ca revert goimports change
  • 39f71b0 set AllowCreateOrganization default value to true
  • 72d7f66 revert locale
  • 677eb7f added default value for AllowCreateOrganization
  • ffa4599 Merge changes from upstream
  • db6b318 fix typo in migration-comment

📊 Changes

11 files changed (+96 additions, -19 deletions)

View changed files

📝 models/error.go (+14 -0)
📝 models/migrations/migrations.go (+3 -1)
models/migrations/v15.go (+30 -0)
📝 models/org.go (+4 -0)
📝 models/user.go (+12 -5)
📝 modules/auth/admin.go (+14 -13)
📝 options/locale/locale_en-US.ini (+2 -0)
📝 routers/admin/users.go (+1 -0)
📝 routers/org/org.go (+8 -0)
📝 templates/admin/user/edit.tmpl (+6 -0)
📝 templates/base/head.tmpl (+2 -0)

📄 Description

Allows to restrict, wether an user is allowed to create organisations. See #177.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/193 **Author:** [@Schwobaland](https://github.com/Schwobaland) **Created:** 11/18/2016 **Status:** ✅ Merged **Merged:** 12/31/2016 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`c12a412`](https://github.com/go-gitea/gitea/commit/c12a4123d08d4649cd36e5a40a0f8bad0a7a8092) Merge pull request #1 from go-gitea/master - [`d41807e`](https://github.com/go-gitea/gitea/commit/d41807e988309abea89cf0dd8d8482c9fe5b2cdd) restrict creating organizations based on right on user - [`9b5578c`](https://github.com/go-gitea/gitea/commit/9b5578c5e81036718cad55fe5ae16fc4c9eb4b80) revert bindata.go - [`e9ab23f`](https://github.com/go-gitea/gitea/commit/e9ab23f7062a1cf64fcc9f7e3a8e5520414d9243) reverse vendor lib - [`3e950ca`](https://github.com/go-gitea/gitea/commit/3e950caf3fef8d985574a57cc393d6c1cbfc367e) revert goimports change - [`39f71b0`](https://github.com/go-gitea/gitea/commit/39f71b0f5fd141a420a652dd5a5b5f2c9a09e0b0) set AllowCreateOrganization default value to true - [`72d7f66`](https://github.com/go-gitea/gitea/commit/72d7f666be3092b8304abb434bc2750a16ca1c6c) revert locale - [`677eb7f`](https://github.com/go-gitea/gitea/commit/677eb7fca4f2163b6acad32d5a3a5c7581ba16ed) added default value for AllowCreateOrganization - [`ffa4599`](https://github.com/go-gitea/gitea/commit/ffa4599b771be67926979a1fc06c67c50167c672) Merge changes from upstream - [`db6b318`](https://github.com/go-gitea/gitea/commit/db6b3182ae7302bc682dc717a5eaa1abd0b6ce58) fix typo in migration-comment ### 📊 Changes **11 files changed** (+96 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `models/error.go` (+14 -0) 📝 `models/migrations/migrations.go` (+3 -1) ➕ `models/migrations/v15.go` (+30 -0) 📝 `models/org.go` (+4 -0) 📝 `models/user.go` (+12 -5) 📝 `modules/auth/admin.go` (+14 -13) 📝 `options/locale/locale_en-US.ini` (+2 -0) 📝 `routers/admin/users.go` (+1 -0) 📝 `routers/org/org.go` (+8 -0) 📝 `templates/admin/user/edit.tmpl` (+6 -0) 📝 `templates/base/head.tmpl` (+2 -0) </details> ### 📄 Description Allows to restrict, wether an user is allowed to create organisations. See #177. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:41:29 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15214