Security

Security — Authorization

Actor types and middleware.

1 min read v1 API

checkType ensures company/customer/driver separation. ensure.*.user verifies linked profile exists. driver.checked_in for shift operations. admin middleware for platform routes.