Prevent users from creating personal repository but only in the organizations of which they are members #6264

Open
opened 2025-11-02 06:50:21 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @lrsbrgrn on GitHub (Nov 7, 2020).

  • Gitea version (or commit ref): 1.12.5
  • Git version: 2.29.2
  • Operating system: Ubuntu Server LTS 20.04
  • Database (use [x]):
    • PostgreSQL
    • [x ] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • [x ] Yes (provide example URL)
    • No
  • Log gist:

Description

Hello everyone. When a user wants to create a new repository he can choose, in the owners list, between his own username and for example an organization in which he is attached. I want the user to be able to only select the organization from the drop-down list. Is this possible? Thank you in advance for your help.

Screenshots

Gitea_Owners_Issue

Originally created by @lrsbrgrn on GitHub (Nov 7, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.5 - Git version: 2.29.2 - Operating system: Ubuntu Server LTS 20.04 <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [ ] PostgreSQL - [x ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x ] Yes (provide example URL) - [ ] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description Hello everyone. When a user wants to create a new repository he can choose, in the owners list, between his own username and for example an organization in which he is attached. I want the user to be able to only select the organization from the drop-down list. Is this possible? Thank you in advance for your help. ## Screenshots ![Gitea_Owners_Issue](https://user-images.githubusercontent.com/51918567/98438376-9a191e80-20e1-11eb-99a6-277265d97473.png)
GiteaMirror added the type/enhancementtype/proposal labels 2025-11-02 06:50:21 -06:00
Author
Owner

@AnsonLuo1 commented on GitHub (Sep 20, 2023):

so is there any process?

@AnsonLuo1 commented on GitHub (Sep 20, 2023): so is there any process?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6264