Agent skill · software engineering · jeremylongshore

shopify-enterprise-rbac

Implement Shopify Plus access control patterns with staff permissions,

Why this skill is useful

Provides specific implementation patterns for Shopify Plus RBAC that the AI wouldn't reliably generate on its own.

What it needs

Requires shopify account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Shopify Enterprise RBAC Overview Implement role-based access control for Shopify Plus apps using Shopify's staff member permissions, multi-location features, and Organization-level access. Prerequisites Shopify Plus store (for Organization features) Understanding of Shopify's staff permission model readusers scope for querying staff permissions Instructions Step 1: Query Staff Permissions and Map to App Roles Query staff members via GraphQL to get their access scopes, then map those scopes to app-level roles (admin, manager, fulfillment, viewer). Staff permissions mirror app scopes like readproducts, writeorders, etc. See Staff Query and Role Mapping for the complete GraphQL query, role definitions, and matching logic. Step 2: Permission Middleware and Multi-Location Access In embedded apps, use online access tokens to get per-staff permissions from session.onlineAccessInfo. For Shopify Plus stores with multiple locations, restrict fulfillment and inventory operations to authorized locations per user. See Permission Middleware and Location Access for Remix loader examples and location access control. Step 3: Organization API and Audit Trail Shopify Plus Organization API enables multi-store management with organization-level, store-level admin, and store-level staff roles. Log all access decisions (allowed and denied) for compliance auditing. See Organization API and Audit Trail for the Organization query and audit implementation. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/shopify-enterprise-rbac--75ea50

View the source on GitHub

Browse the @skills marketplace