diff --git a/scripts/install b/scripts/install index bc1d78d..7eeff1f 100644 --- a/scripts/install +++ b/scripts/install @@ -170,9 +170,6 @@ then ynh_permission_update --permission="main" --add="visitors" fi -# Everyone can access the API part -# We don't want to display the tile in the SSO so we put --show_tile="false" -# And we don't want the YunoHost admin to be able to remove visitors group to this permission, so we put --protected="true" ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c93cb9b..57799f6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ fi # Do not remove the file before the backup, to not fail the backup. # Remove old cron job -ynh_secure_remove --file="/etc/cron.d/$app" +#ynh_secure_remove --file="/etc/cron.d/$app" #================================================= # CREATE DEDICATED USER