fix(soundboard): read MANAGE_SPACE from the space bitfield
CI / Build & test (Node 20) (push) Canceled after 0s
CI / Build & test (Node 24) (push) Canceled after 0s
CI / Build & test (push) Canceled after 0s
CodeQL / Analyze (javascript-typescript) (push) Canceled after 0s
Security / Secret scan (gitleaks) (push) Canceled after 0s
Security / Dependency scan (OSV-Scanner) (push) Canceled after 0s
Security / IaC/config scan (Trivy) (push) Canceled after 0s
Security / License compliance scan (Trivy) (push) Canceled after 0s
OpenSSF Scorecard / Scorecard analysis (push) Canceled after 0s
CI / Build & test (Node 20) (push) Canceled after 0s
CI / Build & test (Node 24) (push) Canceled after 0s
CI / Build & test (push) Canceled after 0s
CodeQL / Analyze (javascript-typescript) (push) Canceled after 0s
Security / Secret scan (gitleaks) (push) Canceled after 0s
Security / Dependency scan (OSV-Scanner) (push) Canceled after 0s
Security / IaC/config scan (Trivy) (push) Canceled after 0s
Security / License compliance scan (Trivy) (push) Canceled after 0s
OpenSSF Scorecard / Scorecard analysis (push) Canceled after 0s
The add-sound control was gated on channelPermissions, which carries the per-channel bitfield; MANAGE_SPACE lives in the space-level one. The check silently evaluated false for everybody, including owners, so the button never rendered and there was no way to add a sound at all. Also raise the clip cap to 2 MB — a 30-second clip at a high bitrate cleared 1 MB — and stop reporting every upload failure as 'too large', which sent people to shrink a file that was not the problem.
This commit is contained in:
@@ -41,7 +41,8 @@ export const en = {
|
||||
'soundboard.remove': 'Remove',
|
||||
'soundboard.namePrompt': 'Name for this sound',
|
||||
'soundboard.joinFirst': 'Join a voice channel to use the soundboard.',
|
||||
'soundboard.tooLarge': 'Sound must be under 1 MB and a few seconds long.',
|
||||
'soundboard.tooLarge': 'Sound must be under 2 MB and a few seconds long.',
|
||||
'soundboard.uploadFailed': 'Could not upload that file. Try a different one.',
|
||||
|
||||
// Account menu (own name in the user bar)
|
||||
'accountMenu.editProfile': 'Edit Profile',
|
||||
|
||||
Reference in New Issue
Block a user