Add option to force notification on expired subscriptions

What does this MR do?

REF: #235392 (closed)

Context

Currently when a self managed instance is using a license that have more than 30 days of expired we're not showing a description of the error that users receives when pushing new changes to the repo.

Changes

In these changes we're forcing the notification to be shown even when the license has more than 30 days of expired. The notification will only be shown on the terminal, the banner used in the UI will continue to appear only within the original 30 days of expiration.

This is how the error message looks now:

Screen_Shot_2021-07-01_at_00.57.51

Screenshots (strongly suggested)

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

Related to #235392 (closed)

Edited by Rubén Dávila

Merge request reports

Loading