Skip to content

Enable pod logs nav menu only for maintainers in projects with k8s environments

What does this MR do?

Only maintainers in projects with k8s environments should see the Pod logs in the sidebar menu.

This MR adds read_pod_logs permission check to this nav menu item.

Screenshots

👉 Please notice the sidebar menu.

Maintainer view Developer view Reporter view
👇 image 👇 image 👇 image

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

Closes #36104 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports