From af2cbd31dc69ed8d0e19ce05b4b281b4ceed28b3 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 10 Feb 2020 00:32:50 -0800 Subject: [PATCH] doc/FAQ.md: add usage examples for whitelisting users --- doc/FAQ.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/FAQ.md b/doc/FAQ.md index 8dfcf82a..20fa1643 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -58,5 +58,9 @@ To whitelist a user, use the [`useradd`](Admin.md#useradd) command with the `is-whitelisted` capability argument. To whitelist them in all channels, add the user to the global channel. +Usage: `useradd is-whitelisted` + If the user already exists, use the [`userset`](Admin.md#userset) command to grant them the `is-whitelisted` capability. + +Usage: `userset is-whitelisted 1`