diff --git a/scripts/install b/scripts/install index 56f4b0a..d387464 100755 --- a/scripts/install +++ b/scripts/install @@ -150,7 +150,7 @@ ynh_script_progression --message="Configuring permissions..." --weight=1 ynh_permission_update --permission="main" --add="visitors" -ynh_permission_create --permission="login" --url="/" --allowed="visitors" --auth_header="false" --show_tile="false" --protected="true" +ynh_permission_url --permission="main" --auth_header="false" #================================================= # RELOAD NGINX diff --git a/scripts/upgrade b/scripts/upgrade index c695515..33a72e1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -145,6 +145,15 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +#================================================= +# SETUP SSOWAT +#================================================= +ynh_script_progression --message="Configuring permissions..." --weight=1 + +ynh_permission_update --permission="main" --add="visitors" + +ynh_permission_url --permission="main" --auth_header="false" + #================================================= # RELOAD NGINX #=================================================