1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00

UX: give proper admin permission upon install (#94)

This commit is contained in:
tituspijean 2024-04-13 00:02:26 +02:00 committed by GitHub
parent 11aa919e0c
commit 4b9b86823f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 5 deletions

View file

@ -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]

View file

@ -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"