From d9f03bf47facd8843f4812d77fd3f6583d88aa86 Mon Sep 17 00:00:00 2001 From: Chtixof Date: Sun, 12 Apr 2015 16:17:03 +0200 Subject: [PATCH] Comments in setup.ini --- README.md | 2 +- sources/conf/setup.ini | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 77fec14..e3f735b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ In this example `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Pub - `Mary:Game` = Mary can access the Game room - `Tim:Family` = Tim can access the Family room - `admin:*` = admin can access all rooms -- `*:Public` = everybody can only acccess the Public room +- `*:Public` = everybody can acccess the Public room - `*:` = everybody can access the unnamed room ## Screen shot diff --git a/sources/conf/setup.ini b/sources/conf/setup.ini index c3ee2b8..a3db4fd 100644 --- a/sources/conf/setup.ini +++ b/sources/conf/setup.ini @@ -1,12 +1,14 @@ ; how often get data from serwer interval = 2500 ; milliseconds -; authorized user:room (comma separated) -; caution: names must be valid for file names ! -; :room with no user name is a room opened to any user name -; user: with no room name is a user allowed to every room -; default = single unnamed room and free user names +; Authorizations (comma separated) auth=*: +; Explanations: +; *: (default) means all users can access the no name room +; user:room means the user is allowed to room +; *:room is a room opened to all +; user:* is a user allowed to any room +; user: is a user allowed to the no name room ; Example: ;auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*: