Defer group package settings request on package details page
What does this MR do and why?
Defer group package settings request on package details page
This MR extracts the request to get group package settings into a separate query added in Adds request forwarding warning to package deta... (!117497 - merged)
Conditions when these settings need not be requested:
- If the user does not have permission to delete package or package versions.
- If package type is not maven, pypi or npm.
Related to #468263 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No change in UI. Please see !117497 (merged)
How to set up and validate locally
- Follow steps in !117497 (merged)
- Confirm that extra GraphQL request is made only when above conditions are met.
Edited by Rahul Chanila