Repository navigation
Fix Extension Management permission validation - #12385
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 a broad table-read permission check with explicit Problem-solution fitFit: Strong The change directly addresses the permission-validation gap and covers non-admin, admin, SuggestionsS1 (🔴 High): Test subscriber prevents the app from compiling Risk assessment and necessityRisk: This changes the authorization gate used by extension install, uninstall, and schema-related operations. A faulty check can grant or deny tenant-wide extension management, and the test module currently fails to compile, so the added regression tests have not run successfully. Necessity: The permission hardening is needed for supported versions, but this backport targets 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 a broad table-read permission check with explicit tenant-wide checks for The previous compilation blocker is resolved, and the relevant application and test builds pass. The PR-specific discussion explicitly identifies this exact target branch, 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; the successful application and test builds remove the previous compile risk. The PR-specific discussion explicitly identifies this exact target branch, Necessity: Explicit permission validation is needed because application-object read access is not extension-management authority. The PR-specific discussion explicitly identifies this exact target branch,
|
|
Pull request was closed
Pull request was closed
|
1 similar comment
|
Fixes missing permission validation in Extension Management.
Related to AB#648158