From aa317abbb0f63da4471cdcc2aef461fd067f28ee Mon Sep 17 00:00:00 2001 From: mikecarper Date: Thu, 17 Sep 2026 13:57:15 -0700 Subject: [PATCH] Document room access --- docs/cli_commands.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/cli_commands.md b/docs/cli_commands.md index 9d0791e5..2d88e6e5 100644 --- a/docs/cli_commands.md +++ b/docs/cli_commands.md @@ -3442,6 +3442,22 @@ Setting a clock alone never automatically resets this table. **Default:** `off` +**Make a room read-only while allowing selected writers:** + +```text +set allow.read.only on +setperm 2 +``` + +With read-only mode on, a client without a valid room password can join as a +read-only guest. Permission `2` gives the specified public key read-write +access. Replace `` with the user's full public key and repeat +`setperm` for every approved writer. + +This does not remove write access from clients that already know the room +password. Keep that password private, or replace it, if write access should be +limited to the explicitly permitted users. + --- ### Region Management (v1.10.+)