mirror of
https://github.com/YunoHost-Apps/nodered_ynh.git
synced 2024-09-03 19:46:25 +02:00
Fix $nodes_url name
This commit is contained in:
parent
81793fcec9
commit
0626da80cb
2 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
|
||||||
ynh_script_progression --message="Configuring permissions..." --weight=1
|
ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||||
|
|
||||||
ynh_permission_update --permission="main" --remove="all_users" --add="$admin"
|
ynh_permission_update --permission="main" --remove="all_users" --add="$admin"
|
||||||
ynh_permission_create --permission="nodes" --url="$nodes_path" --allowed="visitors" --label="nodes endpoints"
|
ynh_permission_create --permission="nodes" --url="$nodes_url" --allowed="visitors" --label="nodes endpoints"
|
||||||
ynh_permission_create --permission="ui" --url="/ui" --allowed="$admin" --label="dashboard"
|
ynh_permission_create --permission="ui" --url="/ui" --allowed="$admin" --label="dashboard"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -68,7 +68,7 @@ fi
|
||||||
|
|
||||||
if ! ynh_permission_exists --permission="nodes"; then
|
if ! ynh_permission_exists --permission="nodes"; then
|
||||||
# Create the required permissions
|
# Create the required permissions
|
||||||
ynh_permission_create --permission="nodes" --url="$nodes_path" --allowed="visitors" --label="nodes endpoints"
|
ynh_permission_create --permission="nodes" --url="$nodes_url" --allowed="visitors" --label="nodes endpoints"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! ynh_permission_exists --permission="ui"; then
|
if ! ynh_permission_exists --permission="ui"; then
|
||||||
|
|
Loading…
Reference in a new issue