diff --git a/manifest.json b/manifest.json index 62b4ba9..33ae9bb 100644 --- a/manifest.json +++ b/manifest.json @@ -49,19 +49,6 @@ "fr": "Choisissez l'administrateur pour PyInventory" }, "example": "johndoe" - }, - { - "name": "is_public", - "type": "boolean", - "ask": { - "en": "Should PyInventory be public accessible?", - "fr": "PyInventory doit-il être accessible au public ?" - }, - "help": { - "en": "Any YunoHost user and anonymous people from the web will be able to access the application", - "fr": "Tout utilisateur YunoHost et les personnes anonymes pourront accéder à l'application" - }, - "default": false } ] } diff --git a/scripts/install b/scripts/install index c309ec8..c30e5bd 100755 --- a/scripts/install +++ b/scripts/install @@ -216,19 +216,6 @@ ynh_script_progression --message="Configuring a systemd service..." # https://github.com/YunoHost/yunohost/blob/dev/data/helpers.d/systemd ynh_add_systemd_config --service="$app" --template="pyinventory.service" -#================================================= -# SETUP SSOWAT -#================================================= -ynh_script_progression --message="Configuring SSOwat..." - -# Make app public if necessary or protect it -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 - #================================================= # Start pyinventory via systemd #=================================================