influxdata / influxdata/influx-cli
write:users is unauthorized
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have a influxDB2.1 (InfluxDB 2.1.1Server: 657e183Frontend: cc65325) and the latest influxCLI 2.2.1. When I create a user with the CLI I get 'write:users is unauthorized' despite using a config with root permissions.
influx user create --name username --password 5ZZ3jTTSmIIr8r5l --org Hexagram
Error: failed to create user "username": 401 Unauthorized: write:users is unauthorized
What can I do? Any other way to create a user?
Best,
Stan
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names influx user create and InfluxDB 2.1.1 with influx-cli 2.2.1, but no repository file or test. Start by reproducing that command with those versions and tracing the user-creation CLI path and permission handling; done means determining whether the CLI or server rejects the request and documenting or fixing the confirmed cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authorization, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100