Skip to content

feat: map privilege-apply business errors in dms-kit - #893

Open
LordofAvernus wants to merge 1 commit into
mainfrom
dms-ui/feat-982
Open

feat: map privilege-apply business errors in dms-kit#893
LordofAvernus wants to merge 1 commit into
mainfrom
dms-ui/feat-982

Conversation

@LordofAvernus

@LordofAvernus LordofAvernus commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Map privilege-apply business errors in dms-kit, including duplicate-open and invalid account name

Problem

CE and EE UIs share dms-kit error mapping. These messages must land on dms-ui main and reach main-ee through Sync, not through an EE-only feature PR.

Test plan

  • privilege_apply.duplicate_open and privilege_apply.invalid_account_name map to the expected messages
  • No DMS PrivilegeApply HTTP client is added on CE

Fixes actiontech/dms-ee#982

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 80.57% 30311/37619
🟡 Branches 62.85% 11423/18176
🟢 Functions 83.99% 10191/12134
🟢 Lines 84.41% 28974/34327

Test suite run success

3776 tests passing in 826 suites.

Report generated by 🧪jest coverage report action from 2ffb21a

Surface no-assignee, duplicate-open and invalid account name from
provision using the shared error mapper.
@LordofAvernus LordofAvernus changed the title feat: add privilege-apply API client and business error mapping feat: map privilege-apply business errors in dms-kit Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant