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:
parent
11aa919e0c
commit
4b9b86823f
2 changed files with 13 additions and 5 deletions
|
@ -37,14 +37,17 @@ ram.runtime = "70M"
|
||||||
type = "path"
|
type = "path"
|
||||||
default = "/nodered"
|
default = "/nodered"
|
||||||
|
|
||||||
[install.admin]
|
[install.init_admin_permission]
|
||||||
type = "user"
|
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]
|
[install.init_main_permission]
|
||||||
help.en = "Should the dashboard and HTTP endpoints be publicly accessible?"
|
ask.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.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?"
|
||||||
type = "group"
|
type = "group"
|
||||||
default = false
|
default = "visitors"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
|
|
|
@ -10,6 +10,11 @@ test_format = 1.0
|
||||||
|
|
||||||
[default.test_upgrade_from.3dae97a7]
|
[default.test_upgrade_from.3dae97a7]
|
||||||
name = "3.0.2~ynh2"
|
name = "3.0.2~ynh2"
|
||||||
|
args.admin = "package_checker"
|
||||||
|
args.domain = "domain.tld"
|
||||||
|
|
||||||
[default.test_upgrade_from.ca5545af]
|
[default.test_upgrade_from.ca5545af]
|
||||||
name = "3.1.4~ynh1 (update nodejs 16 to 20)"
|
name = "3.1.4~ynh1 (update nodejs 16 to 20)"
|
||||||
|
args.admin = "package_checker"
|
||||||
|
args.domain = "domain.tld"
|
||||||
|
args.init_main_permission = "visitors"
|
||||||
|
|
Loading…
Add table
Reference in a new issue