Shopify
Permissions
Choose who can read and change a connected store, and what Lyna's AI may do in it.
This page shows how Lyna decides who can read your connected Shopify store and who can change it, and how you set what the AI may do.
What you can do
- Choose a connection level: Storefront connect or Full access.
- Keep every store change for the store owner.
- Set a default for every new project in your workspace.
- Let the AI act without asking, ask each time, or never, per action.
Four layers
A change to your store only happens when all four layers allow it:
- Connection level: whether the project uses Storefront connect or Full access.
- Project access: your role on the Lyna project.
- Owner-only changes: an optional switch that keeps store changes for the owner.
- AI tool permissions: what the AI may do for each action (Always allow, Ask each time or Never).
Connection level
The connection level decides which actions exist for the project at all.
| Capability | Storefront connect | Full access |
|---|---|---|
| Storefront GraphQL (catalog and cart reads) | Yes | Yes |
| Build the storefront and set its credentials | Yes | Yes |
| Cart and Shopify hosted checkout | Yes | Yes |
| Admin actions: products, variants, collections, discounts, inventory, orders | No | Yes |
| Webhooks | No | Yes |
| Admin GraphQL and Admin REST (AI and API Explorer) | No | Yes |
With Storefront connect, you manage products in the Shopify admin. You can move a project to full access at any time with Settings > Connectors > Shopify > Upgrade to full access. The other layers apply on top of the connection level.
Who can read and who can write
Reading a connected store (products, collections, orders) and changing it both need editor access to the Lyna project. A viewer sees the connector but cannot read store data or change it.
| Who | Read store data | Change the store |
|---|---|---|
| Project owner, or the person who connected the store | Yes | Yes |
| Editor, owner-only changes off (default) | Yes | Yes, within the AI tool permissions |
| Editor, owner-only changes on | Yes | No, owner only |
| Viewer | No | No |
Owner-only changes
The switch Only the store owner can manage this store decides who may run actions that change the store.
- Off (default): every editor can change the store, within the AI tool permissions below.
- On: only the project owner and the person who connected the store can change it. Other editors can still read store data.
Open the store dashboard
Go to Settings > Connectors > Shopify and stay on the Overview tab.
Turn on the switch
In the connection card, turn on Only the store owner can manage this store.
Only the project owner and the person who connected the store can change this switch. They are also the only ones who can disconnect the store.
Workspace default
Workspace default sets what Lyna can do with Shopify in every project of a workspace. You find it in Settings > Connectors > Shopify, on the AI Tools tab, and on the screen shown before a store is connected.
| Control | What it does |
|---|---|
| Enable Shopify for new projects | New projects in this workspace start with the Shopify connector on. |
| Default permission | The level (Always allow, Ask each time or Never) that new projects inherit. |
Only workspace owners and admins can change the workspace default. Each project can still override it.
AI tool permissions
Each project sets what Lyna's AI can do in the store, on the AI Tools tab.
| Control | What it does |
|---|---|
| Enable Shopify | Turns the connector on or off for this project. When off, Lyna cannot use its Shopify actions. |
| Manage all permissions | Sets one level for every action at once. Open a group to set single actions. |
Each action that changes the store has one of three levels:
| Level | What happens |
|---|---|
| Always allow | Lyna runs the action without asking. |
| Ask each time (default) | Lyna asks for your approval in the chat before it runs the action. |
| Never | The action is blocked. Lyna is told it is not allowed and does not try again. |
How Lyna picks the level
When Lyna checks an action, it uses the first level it finds:
- The level you set for that action in this project.
- Otherwise, the workspace default.
- Otherwise, the built-in default: connector on, level Ask each time.
A workspace default set to Never still blocks. A level set in the project always wins over the workspace default.
Actions you can set
These are the rows on the AI Tools tab. Each one starts at Ask each time. The Requires column gives the connection level it needs: Storefront connect actions work at both levels, Full access actions only exist on a full access connection. The full list, with the read actions, is on the AI Tools page.
| Group | Action | What it does | Requires |
|---|---|---|---|
| Products | Create product | Add new products to your Shopify store with variants, images, and pricing. | Full access |
| Products | Update product | Edit an existing product's title, description, tags, status, or media. | Full access |
| Products | Delete product | Permanently remove a product from your Shopify store. | Full access |
| Products | Duplicate product | Copy a product with its variants and images under a new title. | Full access |
| Products | Add product image | Add an image to a product from a URL, an upload, or an AI-generated image. | Full access |
| Products | Add product media | Attach images, videos, external videos, or 3D models to a product. | Full access |
| Products | Generate product images | Generate AI images and attach them to a product. Uses image credits. | Full access |
| Products | Set SEO | Update the SEO title, description, or URL handle of a product or collection. | Full access |
| Products | Create bundle | Create a bundle product composed of other products. | Full access |
| Variants | Add product variant | Add a new variant such as a size or color to an existing product. | Full access |
| Variants | Update product variant | Edit an existing variant's price, SKU, inventory, or options. | Full access |
| Variants | Delete product variant | Remove a variant from an existing product. | Full access |
| Variants | Bulk update prices | Update up to 250 variant prices in one grouped pass. | Full access |
| Collections | Create collection | Group products into a new collection to organize your storefront. | Full access |
| Collections | Update collection | Edit a collection's title, description, or product membership. | Full access |
| Collections | Delete collection | Remove a collection from your Shopify store. | Full access |
| Collections | Smart collection | Create a rule-based collection whose matching products are added automatically. | Full access |
| Discounts & pricing | Create discount code | Create a discount code with a percentage or fixed amount, dates, and usage limits. | Full access |
| Discounts & pricing | Update discount code | Edit an existing discount code's value, schedule, or limits. | Full access |
| Discounts & pricing | Delete discount code | Remove a discount code from your Shopify store. | Full access |
| Discounts & pricing | Create price rule | Create a price rule that defines how a discount applies to products or orders. | Full access |
| Discounts & pricing | Update price rule | Edit an existing price rule's conditions or value. | Full access |
| Discounts & pricing | Delete price rule | Remove a price rule from your Shopify store. | Full access |
| Discounts & pricing | Create automatic discount | Create a discount that applies automatically at checkout. | Full access |
| Discounts & pricing | Update automatic discount | Change an automatic amount-off discount's value, dates, or minimums. | Full access |
| Discounts & pricing | Delete automatic discount | Permanently delete an automatic discount of any kind. | Full access |
| Discounts & pricing | Buy X get Y discount | Create a Buy X get Y deal, automatic or code-based. | Full access |
| Discounts & pricing | Free shipping discount | Create a free-shipping offer, automatic or code-based. | Full access |
| Discounts & pricing | Issue gift card | Issue a gift card with a starting balance. The code is shown once. | Full access |
| Inventory | Set inventory | Adjust available inventory for a variant at a location. | Full access |
| Inventory | Adjust inventory | Add or subtract stock with relative deltas across locations. | Full access |
| Content & metadata | Set metafield | Create or update a metafield on a product, collection, or other resource. | Full access |
| Content & metadata | Create metaobject definition | Define a custom content type for structured store content. | Full access |
| Content & metadata | Create metaobject | Add an entry of a custom content type to your store. | Full access |
| Content & metadata | Upload file | Upload an image or file to your store's content library. | Full access |
| Pages, blog & menus | Create page | Create an Online Store page (About, FAQ, policies). | Full access |
| Pages, blog & menus | Update page | Edit or publish/unpublish an Online Store page. | Full access |
| Pages, blog & menus | Create blog article | Publish a blog article. The blog is created by handle when missing. | Full access |
| Pages, blog & menus | Set menu | Create or replace a navigation menu by handle. | Full access |
| Orders & customers | Create draft order | Draft an order for a customer before it is finalized. | Full access |
| Orders & customers | Complete draft order | Turn a draft order into a real order. | Full access |
| Order operations | Refund order | Refund an order using Shopify's own suggested amounts, fully or per line item. | Full access |
| Order operations | Cancel order | Cancel an order, with optional refund, restocking, and customer notification. | Full access |
| Order operations | Create fulfillment | Mark an order's items as fulfilled, with optional tracking info. | Full access |
| Order operations | Update tracking | Change the carrier, number, or URL on an existing fulfillment. | Full access |
| Order operations | Hold or release fulfillment | Pause a fulfillment order with a reason, or release it to resume shipping. | Full access |
| Customers | Create customer | Add a customer profile with an email or phone number. | Full access |
| Customers | Update customer | Edit a customer's profile. Tags replace the full set. | Full access |
| Customers | Set marketing consent | Change a customer's email or SMS marketing subscription. Requires documented consent. | Full access |
| Markets | Create market | Create an international market with its regions. | Full access |
| Markets | Update market | Rename a market, change its status, or add and remove regions. | Full access |
| Markets | Delete market | Permanently delete a non-primary market. | Full access |
| Webhooks | Create webhook | Subscribe an endpoint to a Shopify webhook topic. | Full access |
| Webhooks | Delete webhook | Remove a webhook subscription from your store. | Full access |
| Shopping assistant | Shopping assistant | Enable, reconfigure, or disable the storefront shopping assistant. Each shopper message bills your wallet up to a daily cap. | Storefront connect |
| Payments | Create checkout | Mint a cart and return a hosted checkout URL to start a purchase. | Storefront connect |
| Sales channels | Publish product | Publish a product to a sales channel so it appears on your storefront. | Full access |
| Sales channels | Publish all products | Publish every product to a sales channel in one step. | Full access |
| API access | Run Admin GraphQL mutation | Run a write operation against the Admin GraphQL API. | Full access |
| API access | Write with Admin REST | Send POST, PUT, PATCH, or DELETE requests to the Admin REST API. | Full access |
| Bulk operations | Run bulk mutation | Run a mutation once per input, up to 10,000 records. | Full access |
| Bulk operations | Cancel bulk operation | Cancel the store's active bulk operation. | Full access |
| Storefront & functions | Set storefront variables | Write the Shopify Storefront API environment variables into your app. | Storefront connect |
| Storefront & functions | Scaffold storefront | Add the Storefront API client plus starter product and cart routes to your app. | Storefront connect |
| Storefront & functions | Scaffold Shopify Function | Generate a Shopify Function extension for discounts, validation, or checkout logic. | Full access |
Related
Need help?
Ask the team, read what changed, or learn from the blog.