Grant panelist role to Events speakers on conferences and webinars.
Deploy Ladill Meet / deploy (push) Successful in 49s

Verify speaker tokens before room-type role resolution so town-hall sessions get panelist access and speaker-panel placement, and skip the waiting room for panelists.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-03 17:56:39 +00:00
co-authored by Cursor
parent a01c1f9a2b
commit f9c82d0d1f
3 changed files with 40 additions and 7 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ class Room extends Model
return false;
}
if ($role === 'host' || ($user && $user->ownerRef() === $this->host_user_ref)) {
if ($role === 'host' || in_array($role, ['co_host', 'panelist'], true) || ($user && $user->ownerRef() === $this->host_user_ref)) {
return false;
}