No longer allow regular attendees to send an invite. The moderators may be next.

This commit is contained in:
Scott Idem
2026-04-02 13:11:23 -04:00
parent fd5d5e371b
commit be3634d750

View File

@@ -894,10 +894,12 @@ async function init_jitsi() {
// Explicit toolbar whitelist — omitting 'embedmeeting' entirely.
// "Embed Meeting" exposes the Jitsi host/room URL and must never appear
// for IDAA users (authenticated or not) — privacy requirement.
// 'invite' is only included for moderators — regular attendees should not
// be able to invite others directly; that is the meeting organizer's role.
toolbarButtons: [
'camera', 'chat', 'closedcaptions', 'desktop', 'download',
'etherpad', 'feedback', 'filmstrip', 'fullscreen', 'hangup',
'help', 'invite', 'livestreaming', 'microphone',
'help', ...(is_moderator ? ['invite'] : []), 'livestreaming', 'microphone',
'mute-everyone', 'mute-video-everyone', 'participants-pane',
'profile', 'raisehand', 'recording', 'security',
'select-background', 'settings', 'shareaudio', 'sharedvideo',