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

Fix permissions in packaging v2

This commit is contained in:
tituspijean 2023-10-29 16:55:58 +01:00
parent 241a400cc6
commit 704f477845
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -33,12 +33,21 @@ ram.runtime = "50M"
type = "path" type = "path"
default = "/nodered" default = "/nodered"
[install.admin] [install.init_admin_permission]
type = "user" type = "group"
default = "admins"
help.en = "Select the group which will be able to access the Node-RED Admin to edit flows. It should *not* be Visitors."
[install.init_ui_permission]
type = "group"
default = "admins"
ask.en = "Who should have access to the Dashboard for this app?"
help.en = "Select the group which will be able to access the Node-RED Dashboard. Be wary of which actions you expose if you choose Visitors."
[install.init_main_permission] [install.init_main_permission]
type = "group" type = "group"
default = "visitors" default = "visitors"
help.en = "Select the group which will be able to access the endpoints you create with the HTTP nodes. Be wary of which actions you expose if you choose Visitors."
[resources] [resources]
[resources.sources.main] [resources.sources.main]
@ -53,5 +62,6 @@ ram.runtime = "50M"
[resources.ports] [resources.ports]
[resources.permissions] [resources.permissions]
admin.url = "/admin"
ui.url = "/ui"
main.url = "/" main.url = "/"
main.allowed = "admins"