Limit the Number of Users a Gitea Deployment Can Have #12698

Open
opened 2025-11-02 10:18:24 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @safag05 on GitHub (Mar 21, 2024).

Feature Description

I propose adding a new configuration variable to the app.ini file in Gitea, allowing administrators to define a maximum limit on the number of users within a deployment. Similar to the MAX_CREATION_LIMIT feature for repository creation, this enhancement would provide greater control over the scalability and management of Gitea instances.

Additionally an option for Admins to update and change this configuration from the Admin UI could be a good idea. But this option should be enabled in api.ini file to do so.

Screenshots

No response

Originally created by @safag05 on GitHub (Mar 21, 2024). ### Feature Description I propose adding a new configuration variable to the app.ini file in Gitea, allowing administrators to define a maximum limit on the number of users within a deployment. Similar to the [MAX_CREATION_LIMIT](https://docs.gitea.com/next/administration/config-cheat-sheet) feature for repository creation, this enhancement would provide greater control over the scalability and management of Gitea instances. Additionally an option for Admins to update and change this configuration from the Admin UI could be a good idea. But this option should be enabled in api.ini file to do so. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:18:24 -06:00
Author
Owner

@dmpaskell22 commented on GitHub (Mar 21, 2024):

no can we do a privet message on discord

@dmpaskell22 commented on GitHub (Mar 21, 2024): no can we do a privet message on discord
Author
Owner

@KN4CK3R commented on GitHub (Mar 21, 2024):

Isn't DISABLE_REGISTRATION enough? This sounds like a controlled environment, so disabling the registration should be doable.

@KN4CK3R commented on GitHub (Mar 21, 2024): Isn't `DISABLE_REGISTRATION` enough? This sounds like a controlled environment, so disabling the registration should be doable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12698