diff --git a/scripts/install b/scripts/install index e972a15..61c7975 100755 --- a/scripts/install +++ b/scripts/install @@ -181,6 +181,18 @@ chown -R $app:$app $final_path # GENERIC FINALIZATION #================================================= #================================================= +# SETUP SSOWAT +#================================================= +ynh_script_progression --message="Configuring permissions..." --time --weight=1 + +# Make app public if necessary +if [ $is_public -eq 1 ] +then + # Everyone can access the app. + # The "main" permission is automatically created before the install script. + ynh_permission_update --permission="main" --add="visitors" +fi +#================================================= # RELOAD NGINX #================================================= ynh_script_progression --message="Reloading NGINX web server..." --time --weight=1