Skip to content

Account for skip_true_up flag in License validation

Josianne Hyson requested to merge jh-skip_true_up into master

What does this MR do?

Addresses: https://gitlab.com/gitlab-org/gitlab/-/issues/334115

Adds logic to skip the true up validations when importing the License if the skip_true_up flag is present.

This is being implemented to support https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3285 which will go live at a later date, but we want to handle this as soon as possible for self-managed instances.

Screenshots or Screencasts (strongly suggested)

situation before after
skip_true_up: true BEFORE-skip_true_up-true AFTER-skip_true-up_true
skip_true_up: false BEFORE-skip_true_up-false AFTER-skip_true_up-false
skip_true_up absent BEFORE-skip_true_up-absent AFTER-skip_true_up-absent

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • ~~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 Josianne Hyson

Merge request reports