mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 01:09:19 +08:00
feat: owner 权限码改为返回公司已分配权限而非 company:* 通配
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/** 与 GET /auth/codes 返回的全局通配一致 */
|
||||
/** 超管通配(GET /auth/codes 对 super 返回 [*]) */
|
||||
export const PERMISSION_WILDCARD_ALL = '*';
|
||||
/** 历史公司通配;owner 已改为返回公司实际权限码,保留兼容旧会话缓存 */
|
||||
export const PERMISSION_WILDCARD_COMPANY = 'company:*';
|
||||
|
||||
export type PermissionMatchMode = 'all' | 'any';
|
||||
|
||||
Reference in New Issue
Block a user