Repository navigation
v0.2 M5:应付会计与采购主管岗位 - #13
Merged
Merged
Conversation
Add srm_ap_accountant (srm_internal_base + srm_finance) and srm_buyer_lead (srm_internal_base + srm_supplier_admin) per design 04 §2.1, and the srm_finance permission set with read-only supplier profile access. Bank account access is added when M2 lands. Tests snapshot what each new position can see and check the accountant cannot edit suppliers. Closes #8 Claude-Session: https://claude.ai/code/session_0197hVjZ87aVrju7md9EL1Gf Co-authored-by: Claude <noreply@anthropic.com>
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.
Requested by 田騏 · project thread
Closes #8(总览 #7)
改了什么
positions.ts新增岗位srm_ap_accountant(应付会计:srm_internal_base+srm_finance)和srm_buyer_lead(采购主管:srm_internal_base+srm_supplier_admin)。采购主管是 03 §5 信息变更第 1 级审批人,应付会计是银行账户变更第 2 级,M4 用。permission-sets.ts新增srm_finance:供应商、联系人、证书只读(04 §2.3 矩阵的 finance 列)。银行账户读与核验 screen flow 由 M2(v0.2 M2:银行账户 srm_supplier_bank_account #11)补上。不设isDefault。与设计 04 §2.1 的差异
04 §2.1 中采购主管还挂
srm_buyer。该权限集对应的对象(合同、交付记录、变更单)尚未上线,沿用 v0.1「岗位与权限集随版本逐步加入」的做法,代码注释已注明,设计不改。翻译:平台的
TranslationData没有岗位和权限集的词条位置,v0.1 的岗位同样没有英文词条;i18n check --strict通过。验证
pnpm verify(validate、lint、typecheck、i18n:check、test 33 个、build)本地全部通过。Generated by Claude Code