diff --git a/manifest.toml b/manifest.toml index 70fabe1..9c439d6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -37,14 +37,17 @@ ram.runtime = "70M" type = "path" default = "/nodered" - [install.admin] - type = "user" + [install.init_admin_permission] + ask.en = "Which group should be able to administer the app and edit flows?" + ask.fr = "Quel group devrait pouvoir adminstrer l'app et modifier des flux ?" + type = "group" + default = "admins" [install.init_main_permission] - help.en = "Should the dashboard and HTTP endpoints be publicly accessible?" - help.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" + ask.en = "Should the dashboard and HTTP endpoints be publicly accessible?" + ask.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" type = "group" - default = false + default = "visitors" [resources] [resources.sources.main] diff --git a/tests.toml b/tests.toml index c97f408..d8bd7fa 100644 --- a/tests.toml +++ b/tests.toml @@ -10,6 +10,11 @@ test_format = 1.0 [default.test_upgrade_from.3dae97a7] name = "3.0.2~ynh2" + args.admin = "package_checker" + args.domain = "domain.tld" [default.test_upgrade_from.ca5545af] name = "3.1.4~ynh1 (update nodejs 16 to 20)" + args.admin = "package_checker" + args.domain = "domain.tld" + args.init_main_permission = "visitors"