Skip to content

Add release tooltip for guest users

What does this MR do?

The visibility of releases in private projects is restricted for guest users:

Guest users of private projects are allowed to view the Releases page but are not allowed to view details about the Git repository (in particular, tag names). Because of this, release titles are replaced with a generic title like "Release-1234" for Guest users to avoid leaking tag name information.

-- Source: User Docs > Projects > Releases

This decision makes sense for security reasons, but the generic titles can be confusing for users. So in this MR, the 'private' icon and a corresponding tooltip are added to the release title for guest users of private projects.

🛠 with at Siemens

/cc @bufferoverflow

Screenshots

Release page as guest user:

before after
Release_guest_before Release_guest_after_plain
(no tooltip) Release_guest_after

Release page as 'normal' user:

before & after (no change)
Release_normal_user

Does this MR meet the acceptance criteria?

Conformity

Availability 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
Edited by Jonas Wälter

Merge request reports