Skip to content

Change logic to find the current license

What does this MR do?

Part of #213108 (closed)

At the moment the last uploaded license is considered as the current license. But when uploading a license which will start in the future it is not supposed to be active right away. Therefore we will now find the last uploaded license that has already started and use it as the current one.

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
Edited by Corinna Gogolok

Merge request reports