fix init permissions

This commit is contained in:
Josué Tille 2023-11-29 10:57:32 +01:00 committed by Félix Piédallu
parent 479e4d7b2d
commit d5f508aa85

View File

@ -45,19 +45,20 @@ ram.runtime = "100M"
type = "path" type = "path"
default = "/gitea" default = "/gitea"
[install.admin]
type = "user"
[install.init_main_permission] [install.init_main_permission]
help.en = "Gitea should be visible by visitors to use git via HTTP and to use the API. You can still set repositories as private individually." help.en = "Gitea should be visible by visitors to use git via HTTP and to use the API. You can still set repositories as private individually."
help.fr = "Gitea doit être visible par les visiteurs pour utiliser git via HTTP et utiliser l'API. Vous pouvez toujours rendre les dépôts privés individuellement." help.fr = "Gitea doit être visible par les visiteurs pour utiliser git via HTTP et utiliser l'API. Vous pouvez toujours rendre les dépôts privés individuellement."
type = "group" type = "group"
default = "visitors" default = "visitors"
[install.init_admin_permission]
type = "group"
default = "admins"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
format = "whatever"
extract = false extract = false
rename = "gitea" rename = "gitea"
@ -83,6 +84,8 @@ ram.runtime = "100M"
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"
admin.label = "Admins"
[resources.ports] [resources.ports]
main.default = 6000 main.default = 6000