Skip to content

fix: remove license warning for customers #13865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

ericpaulsen
Copy link
Member

this PR removes the license warning for customers - this will only apply to trial licenses.

current state:

image

@ericpaulsen ericpaulsen added cli Area: CLI bug labels Jul 10, 2024
@ericpaulsen ericpaulsen requested a review from kylecarbs July 10, 2024 14:50
@ericpaulsen ericpaulsen self-assigned this Jul 10, 2024
@ericpaulsen ericpaulsen changed the title fix: rm license warning for customers fix: remove license warning for customers Jul 10, 2024
@@ -87,7 +87,7 @@ func Entitlements(
if isTrial {
showWarningDays = 7
}
isExpiringSoon := daysToExpire > 0 && daysToExpire < showWarningDays
isExpiringSoon := isTrial && daysToExpire > 0 && daysToExpire < showWarningDays
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably dangerous since it won't show to admins if the license is expiring

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coadler even admins of non-trial licensed deployments?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. The change should probably just be made on the CLI to only display if you're an admin.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@coadler i'm not sure how to build this into the CLI. can you take this on?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would probably be best to make an issue and prioritize into a sprint, I don't have the cycles currently.

@github-actions github-actions bot added the stale This issue is like stale bread. label Jul 18, 2024
@github-actions github-actions bot removed the stale This issue is like stale bread. label Jul 19, 2024
@github-actions github-actions bot added the stale This issue is like stale bread. label Jul 26, 2024
@github-actions github-actions bot closed this Jul 29, 2024
@github-actions github-actions bot deleted the rm-license-warning branch January 11, 2025 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Area: CLI stale This issue is like stale bread.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants