Skip to content

Update expiry setting when license is created

Mark Chao requested to merge 301032-license-creation-via-api into master

What does this MR do?

When adding a trial license, we want to update license_trial_ends_on setting, so to prevent showing admin about getting trial license again. This was fixed in !19511 (merged)

This however was not done for API license endpoint.

This MR makes this update implicit during every license creation.

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

Related to #301032

Edited by Mark Chao

Merge request reports