3U

Permissions

Understanding the permission model that governs access across ThreeU.

Permission Model

ThreeU uses a granular, resource-based permission model. Each permission follows the format resource:operation and controls access to specific API endpoints.

Permissions are declared in plugin manifests and theme/app configurations. During installation, merchants review and approve the requested permissions.

Available Permissions

PermissionDescription
products:readView products and variants
products:createCreate new products
products:updateUpdate existing products
orders:readView order data
orders:updateModify order status
inventory:readView stock levels
inventory:updateAdjust stock quantities
customers:readView customer profiles
pos:sellProcess POS transactions
analytics:readAccess analytics data
shipping:writeCreate and manage shipments
collections:read_publicView published collections
products:read_publicView published products
cart:writeManage shopping cart
checkout:createInitialize checkout sessions

Permission Enforcement

Permissions are enforced at three levels:

  1. Manifest declaration — The plugin/theme declares what it needs
  2. Installation approval — The merchant reviews and approves
  3. Runtime enforcement — The API validates every request against the approved scope

If a plugin attempts an operation outside its approved permissions, ThreeU returns a 403 permission_denied error.