Skip to content

Enterprise CLI displays license enforcement warnings from Entitlements API #3283

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
Tracked by #480
spikecurtis opened this issue Jul 28, 2022 · 0 comments · Fixed by #3716
Closed
Tracked by #480

Enterprise CLI displays license enforcement warnings from Entitlements API #3283

spikecurtis opened this issue Jul 28, 2022 · 0 comments · Fixed by #3716
Labels
api Area: HTTP API enterprise Enterprise-license / premium functionality

Comments

@spikecurtis
Copy link
Contributor

spikecurtis commented Jul 28, 2022

Problem

When customers exceed the terms of their license, we want them to know it. This includes users who only use the CLI.

RFC

Acceptance Criteria

  1. Obtain a license file with a low user limit (10 or so)
  2. Add license to test cluster
    coder license add <license file>
  3. Create more users than allowed
  4. Validate that CLI commands that interact with the API print a warning to stderr with warnings about having too many users. E.g.
    coder users list
    coder templates list
@spikecurtis spikecurtis added api Area: HTTP API enterprise Enterprise-license / premium functionality labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API enterprise Enterprise-license / premium functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant