Add practitioners admin and staff-scoped Care UX.
Deploy Ladill Care / deploy (push) Successful in 43s

Hospital admins can manage assignable doctors and invite team members
from Ladill mailboxes; invited staff only see Care tools they need.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-14 21:59:39 +00:00
co-authored by Cursor
parent 898275ec05
commit 3a7bd14b2b
19 changed files with 684 additions and 18 deletions
@@ -284,7 +284,10 @@ class SsoLoginController extends Controller
private function resolveLanding(IdentityTeamClient $identity, User $user, string $intended): string
{
try {
return $identity->postAuthRedirect($user->ownerRef(), $intended);
$access = $identity->appAccess($user->ownerRef(), $intended);
\App\Support\StaffUx::remember($access);
return $access['url'] !== '' ? $access['url'] : $intended;
} catch (\Throwable) {
return $intended;
}