write:lab_orders
Verb: write
Resource: lab_orders
Use
import { SCOPES, requireScope } from "@platform/scopes";
app.use("/v1/lab_orders/*", requireScope(SCOPES.WRITE_LAB_ORDERS));Granted via
This scope is granted to a token through one of:
- The user explicitly approved it on the consent screen when an app requested it
- The user has an admin role that includes it (M2M client_credentials, admin staff)
- A higher-privilege scope (
manage:lab_ordersoradmin:*) satisfies it