From ee991e83e774a85cd95c0e20023093b67258c829 Mon Sep 17 00:00:00 2001 From: emrah Date: Tue, 1 Aug 2023 14:23:52 +0300 Subject: [PATCH] matrix_affiliation, docs: matrix affiliation notes into README --- auth_hybrid_matrix_token/README.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/auth_hybrid_matrix_token/README.md b/auth_hybrid_matrix_token/README.md index f94e75c..13cbd24 100644 --- a/auth_hybrid_matrix_token/README.md +++ b/auth_hybrid_matrix_token/README.md @@ -1,12 +1,12 @@ # Hybrid Matrix Token -This is an authentication module for `Prosody` which supports `Matrix` and -standard `Jitsi` token at the same time. The module senses the type of the token -and handles it depending on its type. +This module is an authentication provider for `Prosody` which supports `Matrix` +and standard `Jitsi` token at the same time. The module senses the type of the +token and handles it depending on its type. ## Installation -- Copy this script to the Prosody plugins folder. It's the following folder on +- Copy the module into the Prosody plugins folder. It's the following folder on Debian: ```bash @@ -40,6 +40,25 @@ and handles it depending on its type. } ``` +- Affiliation (power level) + + Use `matrix_affiliation` to synchronise Jitsi affiliation according to Matrix + power level: + + ```bash + cd /usr/share/jitsi-meet/prosody-plugins/ + wget -O mod_matrix_affiliation.lua https://raw.githubusercontent.com/jitsi-contrib/prosody-plugins/main/auth_hybrid_matrix_token/mod_matrix_affiliation.lua + ``` + + _/etc/prosody/conf.d/meet.mydomain.com.cfg.lua_ + + ```lua + Component "conference.meet.mydomain.com" "muc" + modules_enabled = { + "matrix_affiliation"; + } + ``` + - Restart the services ```bash