Tanstack Start
Fuel & alerts

Permissions and access

Permission codes that gate fuel detection, fuel consumption, fuel alerts, and fleet alert workflows.

The app checks permission codes on your role for the current organization and group. If you are redirected or see Access denied, see Permissions and access for general guidance.

Fuel events (detection)

CapabilityPermission code (internal)What users experience
Open Fuel Eventview_fuel_detectionRoute is allowed; without it you are redirected away from fuel event analysis.

Fuel consumption

CapabilityPermission code (internal)What users experience
Open Fuel Consumptionview_fuel_consumptionRoute is allowed; without it you are redirected away from the calculator.

Enabling distance, sensor, or hour modes for a specific vehicle is done in fleet configuration (not on this screen). If no mode is enabled, the app shows that fuel calculation is not enabled for the vehicle and the calculation buttons stay unavailable.

Creating alerts from fuel theft events

CapabilityPermission code (internal)What users experience
Mark as Alert on a theft row in fuel event resultscreate_fuel_alertButton appears for Theft event types only. Without permission, the control is not shown.

Fleet alerts (inbox and detail)

CapabilityPermission code (internal)What users experience
Open Alerts list and alert detailview_alertList and detail routes require this.
Use Assign Alert (dialog)assign_alertAssignment dialog is only available when this permission is present.
Mark as False Alarm / Mark as Violationmanage_alertResolution dialogs are wrapped with this permission.

The detail page may show Assign Alert when there is no assignee, but the assignment flow only works when your role includes assign alert. Resolution actions appear when you are the assignee and no internal note is recorded yet; your role must still allow managing alerts to complete those dialogs.

What to ask your administrator

  • Fuel Event or Fuel Consumption redirects: view_fuel_detection and/or view_fuel_consumption.
  • No Mark as Alert on theft rows: create_fuel_alert.
  • Cannot assign or resolve alerts: assign_alert and manage_alert as appropriate.

On this page