feat: privilege-apply CE stubs, controllers and permission point - #674
Open
LordofAvernus wants to merge 3 commits into
Open
feat: privilege-apply CE stubs, controllers and permission point#674LordofAvernus wants to merge 3 commits into
LordofAvernus wants to merge 3 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 🔍
|
PR Code Suggestions ✨No code suggestions found for the PR. |
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/DTO 与 CE stubs
实现提权申请 HTTP 控制器及路由中间件
更新权限点常量与国际化信息
补充提权审批初始化与测试用例
Diagram Walkthrough
File Walkthrough
14 files
定义提权申请 API 请求与响应实现提权申请 HTTP 控制器添加提权审批权限点配置权限点初始化逻辑补充提权审批项增加提权审批权限常量定义更新操作权限描述支持提权审批添加提权申请 CE stub 实现集成提权申请工作流用例至服务初始化更新用户权限映射,包含提权审批定义提权申请工作流业务逻辑结构添加提权申请业务 CE 模式实现实现 SQL 缺权判断与解析逻辑添加非enterprise模式下缺权中间件占位更新API用户权限类型,包含提权审批1 files
为路由添加提权缺权中间件1 files
新增提权审批权限点初始化测试2 files
更新中文国际化消息支持提权审批添加提权审批中文翻译1 files