From d5f508aa85a7f634244dc23835730e19e1109dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 29 Nov 2023 10:57:32 +0100 Subject: [PATCH] fix init permissions --- manifest.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index ac748d4..1733c75 100644 --- a/manifest.toml +++ b/manifest.toml @@ -45,19 +45,20 @@ ram.runtime = "100M" type = "path" default = "/gitea" - [install.admin] - type = "user" - [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.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" default = "visitors" + + [install.init_admin_permission] + type = "group" + default = "admins" + [resources] [resources.sources.main] - format = "whatever" extract = false rename = "gitea" @@ -83,6 +84,8 @@ ram.runtime = "100M" [resources.permissions] main.url = "/" + admin.label = "Admins" + [resources.ports] main.default = 6000