Fix green room Go live and Panels hidden for conference hosts.
Deploy Ladill Meet / deploy (push) Successful in 34s

Stop registerPresenter from demoting hosts to panelists, recognize room owners as managers, and show stage controls in the green room banner.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 22:54:15 +00:00
co-authored by Cursor
parent 0a8cd2b4f9
commit 712dc487c6
6 changed files with 66 additions and 8 deletions
@@ -356,7 +356,16 @@ class MeetingFeaturesController extends Controller
protected function hostOnly(Request $request, Session $session): Participant
{
$participant = $this->participant($request, $session);
abort_unless($participant->isHost(), 403);
$user = $request->user();
$isRoomHost = $user && $user->ownerRef() === $session->room->host_user_ref;
abort_unless($participant->isHost() || $isRoomHost, 403);
if ($isRoomHost && ! $participant->isHost()) {
$participant->update(['role' => 'host']);
return $participant->fresh();
}
return $participant;
}