Can new users be restricted to issues only?

I might not be a smart man.

It seems that per-user repository limits can be set in a special page that is accessible from the “User Accounts” page: You can navigate to it by first navigating to the administration page. Then there are two horizontal rows of links at the top of the page. The usual one and a new additional one with admin links and one I somehow did not notice until now.

Click on “User Accounts” and then click the small blue note+pen icon on the right of any user. This will give you a page where you can set limits and restrictions on a per-user basis!

I’ve included a picture where these links are located:

hidden

So in summary, I ended up ding the following to restrict new users to issues:

  1. In the app.ini file under [admin], Set DISABLE_REGULAR_ORG_CREATION to true
  2. In the app.ini file under [service], Set DEFAULT_ALLOW_CREATE_ORGANIZATION to false
  3. In the app.ini file under [repository], Set MAX_CREATION_LIMIT to 0
  4. For every user you want to allow creating new repositories, go to user settings page mentioned earlier in this post, and set “Maximal Number of Repositories” to -1.

I may still have missed something, but from what documentation I could find about this, the steps above should result in issue only users by default.

Gitea is good software but sorely needs better (any) documentation. If it exists, new users are not finding it.

Cheers!

Edit: Fixed typo in step four.

2 Likes