Skip to content

Instantly share code, notes, and snippets.

View ashiqhassan95's full-sized avatar

Ashiq Hassan ashiqhassan95

View GitHub Profile
@ashiqhassan95
ashiqhassan95 / mod_token_moderation.lua
Created September 16, 2021 06:26
Assign role based JWT token
-----------------------------------
-- Token moderation
-----------------------------------
--
-- This custom plugin assign affiliation to occupant based on JWT payload.
-- Skip assigning affiliation on unavaiability of JWT for occupant.
--
-- By default deployment of Jitsi meet with secure domain enabled instance,
-- jicofo assign owner (moderator) affiliation to all the authenticated user (having JWT).
--
@ashiqhassan95
ashiqhassan95 / muc_allow_moderator_enter_lobby.patch
Last active November 8, 2021 21:46
Allow moderator to enter meeting without approval in lobby mode
Instruction
1. goto: cd /usr/share/jitsi-meet/prosody-plugins/
2. run: sudo patch -b </var/www/jitsi-meet/resources/prosody-plugins/muc_allow_moderator_enter_lobby.patch
3. You will see following:-
patching file mod_muc_lobby_rooms.lua
Hunk #1 succeeded at 1390 (offset 134 lines).
4. A backup file be saved in that same folder with named as mod_muc_lobby_rooms.lua.orig
==================================================================
--- mod_muc_lobby_rooms.lua 2021-09-16 11:43:45.425000000 +0530
+++ mod_muc_lobby_rooms.lua 2021-09-16 11:42:16.435872526 +0530