feat: privilege-apply CE stubs, controllers and permission point - #674
Open
LordofAvernus wants to merge 6 commits into
Open
feat: privilege-apply CE stubs, controllers and permission point#674LordofAvernus wants to merge 6 commits into
LordofAvernus wants to merge 6 commits into
Conversation
Introduce workflow DTO/types with CE no-op service and denial middleware stubs.
Expose controller methods for assignees/create/approve; wire workbench denial middleware slot.
Seed and expose the new op-permission used to qualify privilege-apply approvers.
PR Reviewer Guide 🔍(Review updated until commit cafeeab)
|
PR Code Suggestions ✨No code suggestions found for the PR. |
Align seed Module with design B-privilege_apply_audit_op_permission (账号管理). Co-authored-by: Cursor <cursoragent@cursor.com>
|
Persistent review updated to latest commit 054bfd5 |
|
Persistent review updated to latest commit fb526fc |
Allow list-independent apply without SQL/error prefill while keeping other Create required fields unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Persistent review updated to latest commit cafeeab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
关联的 issue
https://github.com/actiontech/dms-ee/issues/982
描述你的变更
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_docMade with Cursor
Description
新增提权申请API及数据结构
添加提权申请HTTP控制器及中间件
更新权限点种子、常量与国际化文本
增加单元测试验证权限点初始化幂等性
Diagram Walkthrough
File Walkthrough
15 files
定义提权申请工作流API及数据结构新增提权申请接口控制器实现新增提权申请路由及中间件添加提权审批权限点种子定义补齐提权审批权限点初始化逻辑新增提权审批权限点常量更新权限点映射包含提权审批添加开源版提权申请返回不支持实现注入新增提权申请工作流usecase用户权限转换映射提权审批权限实现提权申请工作流业务逻辑及数据模型开源版提权申请业务逻辑stub实现添加SQL解析与权限不足错误处理逻辑引入空操作权限不足中间件实现(CE版)扩展用户API中提权审批权限类型1 files
新增提权审批权限点初始化测试2 files
添加提权审批权限国际化名称与描述新增提权审批权限对应多语言文本1 files