Remove Care cashier access to Ladill POS.
Deploy Ladill Care / deploy (push) Successful in 47s

Cashiers collect via Billing only; strip POS from demo staff grants and StaffUx/launcher so the suite hub no longer offers POS for that role.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 23:47:07 +00:00
co-authored by Cursor
parent 4ad3a8a901
commit f82964b2a0
5 changed files with 164 additions and 9 deletions
@@ -286,6 +286,9 @@ class SsoLoginController extends Controller
{
try {
$access = $identity->appAccess($user->ownerRef(), $intended);
$member = app(\App\Services\Care\OrganizationResolver::class)->memberFor($user);
$access = app(\App\Services\Care\CarePermissions::class)
->filterStaffAppAccess($member, $access);
\App\Support\StaffUx::remember($access);
return $access['url'] !== '' ? $access['url'] : $intended;