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.

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

export const sellersPermissions = defineMercurPermissions([
  { key: "sellers", group: "sellers", surface: ["admin"], rights: ["view", "edit", "manage"] },
  { key: "sellers.approval", group: "sellers", surface: ["admin"], rights: ["edit"], requires: [{ key: "sellers", right: "view" }] },
  { key: "sellers.premium", group: "sellers", surface: ["admin"], rights: ["edit"], requires: [{ key: "sellers", right: "view" }] },
])