Commit Graph
6 Commits
Author SHA1 Message Date
zlwuandCursor 06db3bc966 feat(permission): replace OA roles with post-bound roles and assignee posts
Unify effective roles via post-role bindings, remove dedicated OA role UI, and update OA assignee resolution plus related SQL/docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 17:41:04 +08:00
zlwu 93c28759d0 提交 2026-06-23 10:25:33 +08:00
zlwu a79aee2614 提交 2026-06-14 09:14:11 +08:00
zlwuandCursor 22a5c79585 feat(auth): 添加一级菜单权限码常量和注释
- 新增 TOP_MENU_PERMS frozenset,包含 menu:market、menu:production、menu:quality、menu:operations、menu:system-manage
- 为 iter_user_menu_perm_codes 函数添加注释,说明一级菜单的 menuCode 会自动被返回

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 19:44:05 +08:00
zlwu 8e2dd8b9f0 提交 2026-05-17 08:36:37 +08:00
zlwu 058811ae77 提交 2026-05-12 22:07:53 +08:00