Skip to content

Improve navigation for Package features

What does this MR do?

This adds a Package top level item to the project navigation. In the EE version, the sub items will include both List (listing your packages) and Container Registry. In the CE version, only Container Registry is a sub item.

The navigation menu should also respect if either feature is turned on / off. The main Package top level link will change where it links to based on certain criteria:

  • If Packages is enabled - will link to the Packages list page
  • If Packages is disabled but Container Registry is enabled - will link to Container Registry
  • If both Packages and Container Registry are disabled - nothing will display

CE backport can be found here: gitlab-ce!30256

Does this MR meet the acceptance criteria?

Screenshots

New Top Level

Screenshot_2019-07-01_at_17.47.39

CE Version

Screenshot_2019-07-01_at_17.47.49

EE Version

Screenshot_2019-07-01_at_17.49.12

Screenshot_2019-07-01_at_17.49.20

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #11639 (closed)

Edited by Nick Kipling

Merge request reports

Loading