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
+15
View File
@@ -52,5 +52,20 @@ class AppServiceProvider extends ServiceProvider
View::composer(['partials.topbar'], function ($view) {
$view->with(\App\Support\MobileTopbar::resolve());
});
View::composer(['partials.launcher', 'partials.topbar-desktop-widgets', 'components.app-layout'], function () {
$user = auth()->user();
if (! $user || session()->has(\App\Support\StaffUx::SESSION_KEY)) {
return;
}
try {
$access = app(\App\Services\Identity\IdentityTeamClient::class)
->appAccess($user->ownerRef());
\App\Support\StaffUx::remember($access);
} catch (\Throwable) {
// Leave fail-open defaults until Identity is available.
}
});
}
}