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

Delete old "ui" permission if it exists

This commit is contained in:
tituspijean 2021-09-02 21:42:18 +02:00
parent e70f04727d
commit a5afa5998e

View file

@ -73,6 +73,11 @@ if ! ynh_permission_exists --permission="admin"; then
ynh_permission_create --permission="admin" --url="/admin" --label="admin" --show_tile=true
fi
if ynh_permission_exists --permission="ui"; then
# Delete the old permission
ynh_permission_delete --permission="ui"
fi
#=================================================
# CLOSING PORT
#=================================================