From 38bca38745f3c63a4c7a0ca4a39e8893d55692f2 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 29 May 2018 10:16:28 +0200 Subject: [PATCH] fix yunohost/issues#865 --- packaging_apps_helpers.md | 11 +++++++++-- packaging_apps_helpers_fr.md | 12 ++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/packaging_apps_helpers.md b/packaging_apps_helpers.md index f5cc0d21..3edf714c 100644 --- a/packaging_apps_helpers.md +++ b/packaging_apps_helpers.md @@ -247,16 +247,23 @@ sudo yunohost app checkurl DOMAINPATH -a APP ```bash -sudo yunohost app addaccess [--users=USER] APP +sudo yunohost app addaccess APP [--users=USER] ``` > Allow the `USER` user to access `APP`. +> it's possible to add several users on several apps at once, for exemple: +```bash +sudo yunohost app addaccess app1 app2 -u user1 user2 +``` ```bash -sudo yunohost app removeaccess --users=USER APP +sudo yunohost app removeaccess APP --users=USER ``` > Remove the access authorization to `APP` from `USER` user. +> like for addaccess, it's possible to remove several users on several apps at once, for exemple: +```bash +sudo yunohost app removeaccess app1 app2 -u user1 user2 ```bash sudo yunohost service remove NAME diff --git a/packaging_apps_helpers_fr.md b/packaging_apps_helpers_fr.md index 7dd9a9d5..06857b13 100644 --- a/packaging_apps_helpers_fr.md +++ b/packaging_apps_helpers_fr.md @@ -499,17 +499,25 @@ sudo yunohost app checkurl DOMAINPATH -a APP ```bash -sudo yunohost app addaccess [--users=USER] APP +sudo yunohost app addaccess APP [--users=USER] ``` > Autorise l'utilisateur `USER` à accéder à l'application `APP`. > Si l'option `--users` n'est pas spécifiée, l'accès à l'application `APP` est accordé à tout les utilisateurs. +> il est aussi possible de rajouter plusieurs utilisateurs à plusieurs apps d'un coup, par exemple : +```bash +sudo yunohost app addaccess app1 app2 -u user1 user2 +``` ```bash -sudo yunohost app removeaccess --users=USER APP +sudo yunohost app removeaccess APP --users=USER ``` > Retire l'autorisation d'accès de l'utilisateur `USER` à l'application `APP`. +> de la même manière que pour addaccess, il est aussi possible de retirer plusieurs utilisateurs à plusieurs apps d'un coup, par exemple : +```bash +sudo yunohost app removeaccess app1 app2 -u user1 user2 +``` ```bash sudo yunohost service add NAME [-l LOG]