refactor(policy): add centralized decision helpers

This commit is contained in:
zetaloop
2026-02-22 14:50:54 +08:00
parent d0d21fa935
commit 03fa447864
3 changed files with 42 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import type { UserRole } from "@/lib/types"
export interface Actor {
userId: string
role: UserRole
shopId?: string
}