Skip to main content

Admin Users & Permissions

Admin users are separate from customer accounts. They access the Backoffice panel and manage store operations. Access is controlled by Attribute-Based Access Control (ABAC).

Managing Admin Users

Navigate to Settings → Admin Users.

Creating an Admin User

  1. Click New Admin User
  2. Enter email, name, password
  3. Assign section groups (ABAC permissions)
  4. Save

ABAC Section Groups

Each admin user is granted access to specific sections of the Backoffice:

Section GroupControls Access To
CatalogProducts, Categories, Brands, Attributes, Specifications
SalesOrders, Customers, Customer Groups
InventoryWarehouses, Stock, Fulfillment
Supply ChainPurchase Orders, Goods Receipts, Demand Planning
MarketingPromotions, Discount Codes
ContentMedia, Navigation, Pages, Legal Documents
SettingsStores, Languages, Currencies, Payment, Shipping, Notifications, Admin Users, API Keys

How ABAC Works

  • Each admin API endpoint is decorated with [RequireSection("section-name")]
  • The middleware checks if the logged-in admin has the required section in their attributes
  • If not, the request is blocked with 403
  • The Backoffice UI also hides menu items for sections the user doesn't have access to

Example: Limited Access User

An admin with only Sales and Inventory sections can:

  • ✅ View and manage orders
  • ✅ View and manage customers
  • ✅ Manage warehouse stock
  • ❌ Cannot edit products (Catalog section required)
  • ❌ Cannot access store settings (Settings section required)
  • ❌ Cannot create promotions (Marketing section required)

Editing Permissions

  1. Open an admin user for editing
  2. Toggle section groups on/off
  3. Save — changes take effect on the user's next login/API call
warning

At least one admin user should have access to all sections to avoid lockout scenarios.