From f6f89097712fd5a904453cb61fc91b9bb7b73fe4 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Wed, 25 Feb 2015 22:10:24 +0100 Subject: [PATCH] Update packaging_apps.md Traduction of useful yunohost settings --- packaging_apps.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/packaging_apps.md b/packaging_apps.md index 93b96e86..8eff7ba1 100644 --- a/packaging_apps.md +++ b/packaging_apps.md @@ -160,6 +160,23 @@ sudo yunohost app setting [ -v ] This is the most important helper of YunoHost. It allows you to store some settings for a specific app, in order to be either reused afterward or used for YunoHost configuration (**e.g.** for the SSO).

It sets the value if you append ```-v ```, and gets it otherwise. +

+ +** Some useful settings **

+```skipped_uris```

+Remove the protection on the uris list provided separated by commas.

+ +```protected_uris```

+Protects the uris list provided separated by commas. Only logged in users will have access.

+ +There are also `skipped_regex`, `protected_regex`, `unprotected_uris`, `unprotected_regex`.

+ +**Be careful** : you must run `yunohost app ssowatconf` to apply the effect. URIs will be converted into URLs and written to the file /etc/ssowat/conf.json.

+ +Example:
+```yunohost app setting myapp unprotected_urls -v "/"```
+```yunohost app ssowatconf```
+These commands will disable the SSO on the root of the aplication like domain.tld/myapp This is useful for public application.
@@ -209,4 +226,4 @@ yunohost app install https://github.com/author/my_app_package.git You can add your application to the [_Work in progress_ list](https://yunohost.org/#/apps_en). ### Ask integration of your application to the official list -If you want, you can ask integration of your application to officials applications. To do so, use button "New App Request" on http://app.yunohost.org. \ No newline at end of file +If you want, you can ask integration of your application to officials applications. To do so, use button "New App Request" on http://app.yunohost.org.