Repository navigation
Fix Extension Management permission validation - #12387
PooyaKharamesh wants to merge 4 commits into
Conversation
Backport the corrected permission-set checks and regression tests, including the namespace and test compilation repairs from Bug 651703. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The |
|
This backport targets |
Good Sense Reviewer - Round 1Recommendation: Reject ChangesWhat this PR doesThis change replaces the metadata-table read-permission proxy with explicit checks for SUPER or the system-scoped The production checks are narrow and match the tenant-wide nature of extension management. However, the new test subscriber is invalid in a test codeunit and prevents both targeted build jobs from compiling, so the regression tests never run. Problem-solution fitFit: Strong The explicit permission-set checks directly address the missing authorization validation, including rejection of company-scoped administrator assignments. The implementation cannot be accepted in its current form because the test app does not compile. SuggestionsS1 (🔴 High): Test subscriber prevents the app from compiling Risk assessment and necessityRisk: This authorization path controls tenant-wide extension installation, removal, and management. The permission checks are narrow, but the test app does not compile, so the changed behavior cannot be validated or delivered. Necessity: The authorization hardening is justified for a supported version. This backport targets the unsupported
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Good Sense Reviewer - Round 2Recommendation: Reject ChangesWhat this PR doesThis change replaces the broad application-object read-permission check with explicit tenant-wide The previous compilation blocker is resolved, and the relevant application and test builds pass. However, this backport targets Status of previous suggestions
New observations (commits since round 1)None - the changes address the previous suggestion and reorder declarations only. Risk assessment and necessityRisk: The authorization check protects tenant-wide extension installation, removal, and related data-deletion operations. The round-2 commits only repair the test harness, and the successful application and test builds remove the previous compile risk. Necessity: Explicit permission validation is needed because application-object read access is not extension-management authority. This PR should not merge through
|
|
Pull request was closed
Pull request was closed
|
1 similar comment
|
Fixes missing permission validation in Extension Management.
Related to AB#648158