Skip to content

Fields and permissions

Form fields

FieldRequiredNotes
NameYesDisplay name; unique per scope recommended
DescriptionNoShown as subtitle in table
ActiveYesDefault true; inactive rows hidden from new product links
Controlled substanceNoAmber Controlled pill; Rx priority in CS Command Center
Schedule GNoSky Schedule G pill; pharmacist sign-off at POS
Global ingredientL1 onlyWhen true, tenant_id is null and all tenants see the row
Add ingredient dialog fields.
Form fields and regulatory toggles.

Scope rules

Row typeTenant userL1 admin
Global (is_global)Read-only; Edit/Delete disabledFull edit/delete
Tenant (tenant_id = own)Full edit/deleteFull edit/delete
Tenant (other tenant)HiddenVisible; editable

Permissions

PermissionGrants
product.ingredientsView Ingredients page, CRUD within scope rules

L1 roles: L1_SUPER_ADMIN, L1_AILAAJ_ADMIN — see admin notice on page load.

Downstream effects

Products linked to an ingredient inherit its regulatory flags for Smart Counter and order routing. Deleting an ingredient may leave products without flags until remapped.