shopify-enterprise-rbac
Installation
SKILL.md
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
read_usersscope 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 read_products, write_orders, etc.
See Staff Query and Role Mapping for the complete GraphQL query, role definitions, and matching logic.