Lyna
SupportBlogOpen Lyna
Get startedFeaturesIntegrationsPromptingTips & TricksChangelog
Shopify

Permissions

Control who can read and write a connected store, and what Lyna's AI is allowed to do.

Lyna gates Shopify access on four independent layers. A write action only runs when all four allow it:

  1. Connection level, whether the project uses Storefront connect or Full access.
  2. Project access, your role on the Lyna project.
  3. Owner-only write restriction, an optional toggle that limits store changes to the owner.
  4. AI tool permissions, what each Shopify tool is allowed to do (Always allow, Ask, or Never).

Connection level

The connection level decides which tools exist at all for the project:

CapabilityStorefront connectFull access
Storefront GraphQL (catalog and cart reads)YesYes
Scaffold the storefront, wire storefront credentialsYesYes
Cart and Shopify hosted checkoutYesYes
Admin tools: products, variants, collections, discounts, inventory, ordersNoYes
WebhooksNoYes
Admin GraphQL and Admin REST (AI tools and API Explorer)NoYes

With Storefront connect, product management stays in the Shopify admin. A project can upgrade to full access at any time from Settings > Integrations > Shopify > Upgrade to full access. The layers below apply on top of the connection level.


Who can read and who can write

Reading a connected store (listing products, collections, orders, and so on) and running write actions both require editor access to the Lyna project. Read-only collaborators see the connector but cannot make changes.

ScenarioRead store dataRun write actions
Project owner / connecting userYesYes
Editor collaborator, owner-only write off (default)YesYes (subject to AI tool permissions)
Editor collaborator, owner-only write onYesNo, owner only
Read-only collaborator (viewer)YesNo

Reads stay open to every collaborator with project access regardless of the owner-only setting. Only write and mutating actions are restricted.


Owner-only write restriction

In the connected Overview tab, the toggle "Only the store owner can manage this store" controls who may run store-changing actions.

  • Off (default): any editor collaborator can run write actions, subject to the AI tool permissions below.
  • On: only the store owner (the workspace owner or the user who connected the store) can run write actions. Other collaborators can still read store data.

This setting defaults off, so existing connections keep their shared-write behavior until someone turns it on. Only the workspace owner or the user who established the connection can change it (and only the project owner or connecting user can disconnect the store).


Workspace default

Set what Lyna can do with Shopify by default across every project in a workspace, under Settings > Integrations > Shopify (in the connected AI Tools tab and on the not-connected screen).

  • Enable Shopify for new projects: new projects in the workspace start with the Shopify connector enabled.
  • Default permission: the level (Always allow, Ask each time, or Never) that new or ungoverned projects inherit.

Only workspace owners and admins can change the workspace default. Individual projects can still override it.


AI tool permissions

Each project controls what Lyna's AI can do in the store. There are two global controls plus a per-tool matrix:

  • Enable Shopify: the master toggle for the connector in this project. When off, Lyna's Shopify write tools are blocked.
  • Manage all permissions: sets the default level for every write tool at once. Expand a group to fine-tune individual tools.

Every write tool can be set to one of three levels:

LevelBehavior
Always allowLyna runs the action without asking.
Ask each time (default)Lyna asks for your approval in chat before running the action.
NeverThe action is blocked. Lyna receives a permission-denied result and will not retry.

Read and discovery tools (listing or fetching data) are not individually gated and are available to any editor. The permission matrix governs the write and mutating tools listed below. Changing a project's permissions requires project admin access.

How a permission is resolved

When Lyna checks a write tool, it resolves the effective level in this order:

  1. An explicit per-project setting for that tool, if present.
  2. Otherwise, the workspace default.
  3. Otherwise, the built-in default (connector enabled, level Ask each time).

A workspace default can only narrow the built-in default (a workspace set to Never still blocks), and an explicit per-project setting always wins over the workspace default.


The write-tool matrix

These are the tools shown in the per-tool matrix. Every one defaults to Ask each time. The Requires column shows the minimum connection level: "Storefront connect" tools work at either level, "Full access" tools only exist on a full access connection. The complete tool list, including read tools, is on the AI Tools page.

GroupToolWhat it doesRequires
ProductsCreate productAdd new products with variants, images, and pricing.Full access
ProductsUpdate productEdit a product's title, description, tags, status, or media.Full access
ProductsDelete productPermanently remove a product.Full access
ProductsAdd product imageAdd an image from a URL, an upload, or an AI-generated image.Full access
VariantsAdd product variantAdd a variant such as a size or color.Full access
VariantsUpdate product variantEdit a variant's price, SKU, inventory, or options.Full access
VariantsDelete product variantRemove a variant from a product.Full access
CollectionsCreate collectionGroup products into a new collection.Full access
CollectionsUpdate collectionEdit a collection's title, description, or membership.Full access
CollectionsDelete collectionRemove a collection.Full access
Discounts & pricingCreate discount codeCreate a code with a percentage or fixed amount, dates, and limits.Full access
Discounts & pricingUpdate discount codeEdit a discount code's value, schedule, or limits.Full access
Discounts & pricingDelete discount codeRemove a discount code.Full access
Discounts & pricingCreate price ruleCreate a price rule that defines how a discount applies.Full access
Discounts & pricingUpdate price ruleEdit a price rule's conditions or value.Full access
Discounts & pricingDelete price ruleRemove a price rule.Full access
Discounts & pricingCreate automatic discountCreate a discount that applies automatically at checkout.Full access
InventorySet inventoryAdjust available inventory for a variant at a location.Full access
Content & metadataSet metafieldCreate or update a metafield on a product, collection, or other resource.Full access
Content & metadataCreate metaobject definitionDefine a custom content type for structured content.Full access
Content & metadataCreate metaobjectAdd an entry of a custom content type.Full access
Content & metadataUpload fileUpload an image or file to the store's content library.Full access
Orders & customersCreate draft orderDraft an order for a customer before it is finalized.Full access
Orders & customersComplete draft orderTurn a draft order into a real order.Full access
WebhooksCreate webhookSubscribe an endpoint to a webhook topic.Full access
WebhooksDelete webhookRemove a webhook subscription.Full access
PaymentsCreate checkoutMint a cart and return a hosted checkout URL.Storefront connect
Sales channelsPublish productPublish a product to a sales channel.Full access
Sales channelsPublish all productsPublish every product to a sales channel in one step.Full access
API accessRun Admin GraphQL mutationRun a write operation against the Admin GraphQL API.Full access
API accessWrite with Admin RESTSend POST, PUT, PATCH, or DELETE to the Admin REST API.Full access
Storefront & functionsSet storefront variablesWrite the Storefront API environment variables into your app.Storefront connect
Storefront & functionsScaffold storefrontAdd the Storefront client plus starter product and cart routes.Storefront connect
Storefront & functionsScaffold Shopify FunctionGenerate a Shopify Function extension for discounts, validation, or checkout logic.Full access

Order and customer data is read through your own app on a full access connection. Reading customer or order data may require Shopify's protected customer data approval on that app, which you request in the app's settings on Shopify. Development stores are exempt.