refactor: 拆分品牌业务类型与页面方案
CI / Static checks (push) Has been cancelled
CI / Production build (push) Has been cancelled
CI / API integration (push) Has been cancelled
CI / Taro builds (acheng-campus-food) (push) Has been cancelled
CI / Taro builds (atelier-solopreneur) (push) Has been cancelled
CI / Taro builds (linjing-editorial) (push) Has been cancelled
CI / Browser regression (push) Has been cancelled

This commit is contained in:
que01 committed 2026-10-20 17:04:30 +08:00
1 parent f02e2cafbb
commit 0d9f4a7d6f
86 files changed
+4111 -1543

No files matched your search

+26 -1
View File
@@ -69,6 +69,14 @@ export const ROUTE_COVERAGE: RouteCoverage[] = [
authorizationTest: "admin can list and switch only enabled brand memberships",
successTest: "admin can list and switch only enabled brand memberships",
},
{
method: "GET",
path: "/admin/brands/creation-options",
auth: "roles",
roles: ["owner"],
authorizationTest: "brand creation options are owner-scoped",
successTest: "brand creation options are owner-scoped",
},
{
method: "GET",
path: "/admin/brands/members",
@@ -222,10 +230,19 @@ export const ROUTE_COVERAGE: RouteCoverage[] = [
{
method: "GET",
path: "/admin/workspace/template/preview",
auth: "brand",
auth: "roles",
roles: ["owner", "admin", "platform-admin"],
authorizationTest: "template ledger install, upgrade preview, and rollback stay brand-scoped",
successTest: "template ledger install, upgrade preview, and rollback stay brand-scoped",
},
{
method: "GET",
path: "/admin/workspace/template/options",
auth: "roles",
roles: ["owner", "admin", "platform-admin"],
authorizationTest: "page scheme options are readable by owners and admins only",
successTest: "page scheme options are readable by owners and admins only",
},
{
method: "GET",
path: "/customer/bookings",
@@ -436,6 +453,14 @@ export const ROUTE_COVERAGE: RouteCoverage[] = [
authorizationTest: "admin can list and switch only enabled brand memberships",
successTest: "admin can list and switch only enabled brand memberships",
},
{
method: "POST",
path: "/admin/brands",
auth: "roles",
roles: ["owner"],
authorizationTest: "owner can create an isolated brand",
successTest: "owner can create an isolated brand",
},
{
method: "POST",
path: "/admin/brands/members",