Roles and permissions

Business roles, employees, store scope, and machine API keys.

User is the sign-in identity. Employee joins a user to one business, a business-owned Role, and a set of stores. A role is a set of 47 checkboxes.

AreaFlags
GeneralcanAccessDashboard, canUseAssistant, canManageOnboarding, canManageBusiness, canManageRoles, canReadPeople, canManagePeople
Catalog and pricingcanReadCatalog/canManageCatalog, canReadPricing/canManagePricing, canReadPromotions/canManagePromotions
Stock and buyingcanReadInventory/canManageInventory, canReadPurchasing/canManagePurchasing
SellingcanReadSales/canManageSales, canReadPayments/canManagePayments, canReadCash/canManageCash
Customers and compliancecanReadLoyalty/canManageLoyalty, canReadCompliance/canManageCompliance
VerticalscanReadPreparedFood, canReadFuel, canReadLottery, canReadMoneyServices (each with a Manage flag)
OperationscanReadReporting, canReadExports, canReadAlerts, canReadOfflineOperations, canReadIntegrations (each with Manage), canManageApiKeys, canReadAudit

Onboarding creates an Owner role with every permission. "Access denied for this store" means the employee is not assigned to that store.

API keys (ApiKey) belong to one business, carry scopes, are limited to stores, and cannot open the dashboard. See Recovery.