Skip to content

fix: Lock Settings should not be visible in breakout rooms - #24339

Merged
ramonlsouza merged 1 commit into
bigbluebutton:v3.0.x-releasefrom
ramonlsouza:issue-24223
Dec 10, 2025
Merged

ramonlsouza merged 1 commit into
bigbluebutton:v3.0.x-releasefrom
ramonlsouza:issue-24223

Conversation

@ramonlsouza

Copy link
Copy Markdown
Member

What does this PR do?

Adjusts the userlist dropdown to only display lock viewers option in the main room.

Closes Issue(s)

Closes #24223

How to test

  1. join a meeting
  2. create breakout rooms
  3. join a breakout room
  4. check if "lock viewers" appears in the "manage users" menu

@ramonlsouza ramonlsouza added this to the Release 3.0 milestone Dec 8, 2025
@coderabbitai

coderabbitai Bot commented Dec 8, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

The change restricts access to the "lockViewers" action in the user options dropdown by conditionally disabling it in breakout rooms. Previously, the action was always accessible with allow: true; it now evaluates to allow: !isBreakout, preventing the lock settings option from appearing when users are in a breakout room context.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Single conditional modification in one component file
  • Boolean logic change to an existing menu item property
  • No control flow or structural changes
  • Straightforward validation against the linked issue requirement

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and specifically describes the main change: restricting lock settings visibility in breakout rooms, which matches the primary objective of the changeset.
Description check ✅ Passed The PR description is related to the changeset, explaining what the PR does and providing testing steps to verify the fix for the lock viewers visibility issue.
Linked Issues check ✅ Passed The code change successfully implements the requirement from issue #24223 by restricting the lockViewers action to only display when not in a breakout room.
Out of Scope Changes check ✅ Passed The change is narrowly focused on the lock viewers visibility requirement and does not introduce unrelated modifications outside the scope of issue #24223.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0728b0b and c6512bb.

📒 Files selected for processing (1)
  • bigbluebutton-html5/imports/ui/components/user-list/user-list-graphql/user-participants-title/user-options-dropdown/component.tsx (1 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
bigbluebutton-html5/imports/ui/components/user-list/user-list-graphql/user-participants-title/user-options-dropdown/component.tsx (1)
bigbluebutton-html5/imports/ui/components/audio/service.js (1)
  • isBreakout (39-39)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build-package (bbb-html5)
  • GitHub Check: main
🔇 Additional comments (3)
bigbluebutton-html5/imports/ui/components/user-list/user-list-graphql/user-participants-title/user-options-dropdown/component.tsx (3)

252-260: LGTM! Lock Settings correctly restricted to main room only.

The change properly prevents the Lock Settings option from appearing in breakout rooms by setting allow: !isBreakout. This aligns with the PR objective and is consistent with other breakout-restricted actions in the dropdown.


252-260: Lock Settings protection in breakout rooms appears sound, but needs codebase-wide verification.

The dropdown item properly guards against breakout rooms with allow: !isBreakout. However, to fully confirm that this is the only UI path to Lock Settings, verify there are no other components, menus, or buttons that expose lockViewersModal or similar Lock Settings functionality elsewhere in the codebase.


243-251: Verify if "Mute all except presenter" should work in breakout rooms.

The "Mute all except presenter" action has allow: true, meaning it's accessible in breakout rooms. Please confirm whether this functionality is intended to work in breakout rooms, or if it should also be restricted with allow: !isBreakout like the mute/unmute toggle and lock settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

sonarqubecloud Bot commented Dec 8, 2025

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Dec 9, 2025

Copy link
Copy Markdown

Automated tests Summary

✅ All the CI tests have passed!

@ramonlsouza
ramonlsouza merged commit 07f50b1 into bigbluebutton:v3.0.x-release Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock Settings should not be visible in breakout rooms

2 participants