[Quality Management] Enforce rules and restrictions with implicit permissions#8556
Conversation
ReadPermission guard also removed from warehouse activity checkThe same Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Error message loses actionable remediation guidanceThe Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
There was a problem hiding this comment.
Hold for additional check
Agentic PR Review - Round 1Recommendation: Request ChangesWhat this PR doesThis PR adds procedure-level implicit permissions to Quality Management integration subscribers so automatic inspection creation and item-tracking/warehouse restrictions run even when the current user lacks direct Quality Management permissions. That is the right enforcement direction for the described issue, and the tracking change intentionally removes the old SuggestionsS1 - Add permission regression coverage S2 - Cover production source update subscribers S3 - Restore actionable reinspection remediation Risk assessment and necessityRisk: The changed subscribers sit on purchase, sales return, transfer, assembly, manufacturing, warehouse posting/registering, and item-tracking validation paths. An incomplete permission fix can either continue bypassing mandatory inspections/restrictions or unexpectedly block operational transactions; the unannotated manufacturing line/routing callbacks are a concrete remaining gap. Necessity: The scenario is important because users without direct Quality Management permissions should not bypass mandatory inspection creation or transaction restrictions. AB#626330 is linked, but the work item was not independently verified; the PR body and diff still show a valid enforcement need.
|
alexei-dobriansky
left a comment
There was a problem hiding this comment.
@JakovljevicDusan, please check if the suggestions are valid.
What & why
Implement InherentPermissions so users without QM permissions would not silently skip mandatory QI creation or transaction restrictions.
Linked work
Fixes AB#626330