Skip to content

Add deprecation guard to prevent further usage of NamespaceService

John Cai requested to merge jc-warn-add-namespace into master

What does this MR do?

fixes: #34047 (closed)

We are headed towards fully deprecating the namespace service since it is not compatible with Gitaly HA. We have already removed many calls to the Namespace service, and once all projects automatically get migrated to hashed storage in 13.0, we will remove it altogether.

Until that day, we need to add some restrictions to prevent future usage of the namespace service.

Screenshots

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

Merge request reports