Ability to set user limits #569

Open
opened 2025-11-02 03:28:26 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @strk on GitHub (Mar 23, 2017).

It would be useful to set per-user (or per user-group) limits, things like:

  • Allowed disk space occupation for repositories
  • Number of PR/issues/comments per day/week/month/total
Originally created by @strk on GitHub (Mar 23, 2017). It would be useful to set per-user (or per user-group) limits, things like: - Allowed disk space occupation for repositories - Number of PR/issues/comments per day/week/month/total
GiteaMirror added the type/featureissue/confirmed labels 2025-11-02 03:28:26 -06:00
Author
Owner

@bkcsoft commented on GitHub (Apr 18, 2017):

number of issues/comments isn't really useful in any setup, attachment restrictions would be better in that case (I think we have those already). As for disk-space and how many repos one user/org can have, 👍

@bkcsoft commented on GitHub (Apr 18, 2017): number of issues/comments isn't really useful in any setup, attachment restrictions would be better in that case (I think we have those already). As for disk-space and how many repos one user/org can have, 👍
Author
Owner

@strk commented on GitHub (Apr 18, 2017):

Number (and size) of issues/comments affect disk space (think of a
comment flooding attack)

@strk commented on GitHub (Apr 18, 2017): Number (and size) of issues/comments affect disk space (think of a comment flooding attack)
Author
Owner

@bkcsoft commented on GitHub (Apr 19, 2017):

In that case rate-limiting makes more sense, and is IMO out-of-scope for Gitea ;)

@bkcsoft commented on GitHub (Apr 19, 2017): In that case rate-limiting makes more sense, and is IMO out-of-scope for Gitea ;)
Author
Owner

@sbrl commented on GitHub (Apr 19, 2017):

You could protect against a flood attack with something like sshguard or fail2ban. I think that the number of repositories and the size of said repositories is the main thing that we need the option for a limit on.

@sbrl commented on GitHub (Apr 19, 2017): You could protect against a flood attack with something like sshguard or fail2ban. I think that the number of repositories and the size of said repositories is the main thing that we need the option for a limit on.
Author
Owner

@jonasfranz commented on GitHub (Mar 11, 2018):

I've created an issue for the size limit (#3658) to better discuss / organize the design of the size limit.

@jonasfranz commented on GitHub (Mar 11, 2018): I've created an issue for the size limit (#3658) to better discuss / organize the design of the size limit.
Author
Owner

@stale[bot] commented on GitHub (Feb 6, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 6, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Feb 20, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Feb 20, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#569