1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minchat_ynh.git synced 2024-09-03 19:36:29 +02:00
minchat_ynh/doc/ADMIN.md

18 lines
1,011 B
Markdown
Raw Normal View History

2022-10-01 08:52:00 +02:00
### Setup
2024-01-17 12:36:10 +01:00
The setup is optional. If you leave it as is, there is a single unnamed room, opened to all users. If you want to customize the access control, edit the file `__INSTALL_DIR__/conf/setup.ini` (if missing, copy it from `__INSTALL_DIR__/conf/sample/setup.ini`). The interesting parameter is `auth` that indicates which user is authorized to which room.
2022-10-01 08:52:00 +02:00
2024-01-17 11:37:40 +01:00
In this example `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*:`:
- `John:Game,John:Family` = John can access the Game room, the Family room
- `Mary:Game` = Mary can access the Game room
- `Tim:Family` = Tim can access the Family room
2022-10-01 08:52:00 +02:00
- `admin:*` = admin can access all rooms
- `*:Public` = everybody can acccess the Public room
- `*:` = everybody can access the unnamed room
### Hints for users
- The URLs you send are linked or transformed to images when preceeded by a `!`
- If multiple rooms are allowed by the administrator in the `setup.ini`, you can have several tabs opened to different rooms in the same browser.