Improve conferences, guest entry, Afia, and cross-app scheduling.
Deploy Ladill Meet / deploy (push) Successful in 50s
Deploy Ladill Meet / deploy (push) Successful in 50s
Route guests through silent SSO to the Meet product page, fix Afia context query, add conference green-room UX and copy, and extend service API for Care/CRM/Invoice calendar integration. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,20 +13,21 @@ class SecurityPolicyService
|
||||
{
|
||||
$org = $room->organization;
|
||||
$policy = $this->mergedPolicy($org, $room);
|
||||
$kind = $room->isConference() ? 'conference' : 'meeting';
|
||||
|
||||
if ($policy['org_only'] && ! $user) {
|
||||
return [false, 'This meeting requires a Ladill account.'];
|
||||
return [false, "This {$kind} requires a Ladill account."];
|
||||
}
|
||||
|
||||
if ($policy['authenticated_only'] && ! $user) {
|
||||
return [false, 'Please sign in to join this meeting.'];
|
||||
return [false, "Please sign in to join this {$kind}."];
|
||||
}
|
||||
|
||||
if (! empty($policy['allowed_domains']) && $email) {
|
||||
$domain = Str($email)->after('@')->lower()->toString();
|
||||
$allowed = collect($policy['allowed_domains'])->map(fn ($d) => strtolower(trim($d)))->filter();
|
||||
if ($allowed->isNotEmpty() && ! $allowed->contains($domain)) {
|
||||
return [false, 'Your email domain is not allowed to join this meeting.'];
|
||||
return [false, "Your email domain is not allowed to join this {$kind}."];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +36,7 @@ class SecurityPolicyService
|
||||
}
|
||||
|
||||
if ($room->activeSession()?->is_locked && ! $this->isHost($room, $user)) {
|
||||
return [false, 'This meeting is locked.'];
|
||||
return [false, "This {$kind} is locked."];
|
||||
}
|
||||
|
||||
if ($policy['recording_host_only'] && ! $this->isHost($room, $user)) {
|
||||
|
||||
Reference in New Issue
Block a user