Roles without "Use Voice Activity" permission not required to use PTT

(#3987) Bug Open: Awaiting confirmation voice

Reproduction steps

  1. Set everyone role to have "Use Voice Activity" false
  2. Setup Role A with "Use Voice Activity" explicitly set to false, and Role B with "Use Voice Activity" set to true.
  3. Give user Role A
  4. Have user enter voice channel and attempt to use voice activity

Expected behaviour

User should be unable to communicate without PTT

Actual behaviour

User is able to communicate on voice activity alone.

Build information

Canary Web 2026.1012.2059, macOS 10.15 (arm64), Firefox 157.0, Locale en-GB

Platform

Self-hosting

  1. The pull request fluxer#4142 mentions this post Merged

3 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Needs triage to Confirmed
Confirmed. The app doesn't yet make members without the Use Voice Activity permission use push-to-talk.
Comment by Rex
RexSystem 1 vote
Status changed from Confirmed to Awaiting confirmation
Fixed in fluxer#4142. The fix is live in web release 2026.1115.234056.
Comment by JDBurton
On release 2026.1028.163925, and still at commit f1cba64e (2026-11-09), denying Use Voice Activity does not make someone use push-to-talk. The permission is Permissions.USE_VAD. The client computes canUseVad in VoicePermissionUtils.ts from that bit. VoicePermissionStateMachine.ts stores the flag and compares it, and nothing reads it when the microphone is opened. I found no check of it on the server either. Denying it on a role or on the channel ends the same way. That also means it cannot be used to keep an AFK channel quiet.