Files
zkxw/docs/sql/drop_oa_role.sql
T
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

11 lines
357 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- docs/sql/drop_oa_role.sql
-- 下线 OA 工作流角色:审批人选改为职位(sys_post / sys_user_post)
-- 同步软删菜单「工作流角色」
UPDATE `sys_menu`
SET `del_flag` = 1, `update_time` = NOW()
WHERE `id` = 'OA000000000000000000000000000102' AND `del_flag` = 0;
DROP TABLE IF EXISTS `oa_role_user`;
DROP TABLE IF EXISTS `oa_role`;