Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

465 B
Raw Blame
import { defineMercurPermissions } from "../registry"

export const inventoryPermissions = defineMercurPermissions([
  { key: "inventory_items", group: "inventory", surface: ["admin", "vendor"], rights: ["view", "edit", "manage"] },
  { key: "reservations", group: "inventory", surface: ["admin", "vendor"], rights: ["view", "edit", "manage"] },
  { key: "stock_locations", group: "inventory", surface: ["admin", "vendor"], rights: ["view", "edit", "manage"] },
])