Skip to content

inventory_reorder — Permissions

Gating permissions returned by get_permissions() (registry prefixes with inventory_reorder):

PermissionEffectRoles
inventory_reorder.readView reorder suggestionsadmin (*), dentist, hygienist, assistant, receptionist
inventory_reorder.writeGenerate draft purchase orders from suggestionsadmin (*), assistant, receptionist

Reference: backend/app/core/auth/permissions.py (runtime source), frontend/app/config/permissions.ts (frontend mirror).

Endpoint → permission

MethodPathPermission
GET/api/v1/inventory_reorder/suggestionsinventory_reorder.read
POST/api/v1/inventory_reorder/ordersinventory_reorder.write

Notes

  • Clinicians (dentist, hygienist) see suggestions, but only front-desk staff and admins can act on them — mirroring the purchase_orders role grant (front desk runs procurement).
  • Same strings back the Copilot agent tools (list_reorder_suggestionsread, generate_reorder_orderswrite).