Skip to content
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

Delete the PostSetupUser API #21201

Closed
danxmoran opened this issue Apr 13, 2021 · 0 comments · Fixed by #21709
Closed

Delete the PostSetupUser API #21201

danxmoran opened this issue Apr 13, 2021 · 0 comments · Fixed by #21709
Assignees
Labels
area/api area/api-docs area/2.x OSS 2.0 related issues and PRs

Comments

@danxmoran
Copy link
Contributor

PostSetupUser seems to be a shortcut API to create a new org + new bucket + new user with owner permissions on the two. It's similar to PostSetup, except that API grants the new user operator permissions on the entire deployment. The API has been part of our public Swagger file, but the CLI command that uses it hasn't been documented.

@russorat and I aren't sure what the purpose of the API is supposed to be. I think it might have been created back when OSS and Cloud shared a codebase, to support the onboarding path in Cloud. The API has since been locked down in Cloud, and other APIs exist in OSS to grant the same behavior, so we'd like to delete the API from OSS.

  • Delete PostSetupUser from our public API docs
  • Delete all server-side handlers for the API

The influx setup user subcommand will not be migrated to the new CLI repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api area/api-docs area/2.x OSS 2.0 related issues and PRs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant