Disable private Repos

Hello all,

We have recently started using Gitea in our company. We have created organizations and teams for the respective areas.

Now to my question, is there any possibility that users can mandatorily create new repos in the organization or team.

I would like to prevent that private repos can be created.

Thank you and best regards
latscho

2 Likes

Set the Maximum Number of Repositories option to 0 (default -1, ie no limit) from the users options

NOTE: this might interfere with the ability to operate the fork-pull workflow

1 Like

Thanks for sharing such issue.

Hi, I have the same issue with my gitea instance. Users should not create their own (private) repositories. When I set MAX_CREATION_LIMIT to “0” it is not possible to create any repository for the user.
Does a configuration exist for deny user repositories but to allow organization repositories?

Thanks in advance