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

Play nice with authorization #890

Closed
bmorg opened this issue Feb 15, 2017 · 5 comments
Closed

Play nice with authorization #890

bmorg opened this issue Feb 15, 2017 · 5 comments
Labels

Comments

@bmorg
Copy link

bmorg commented Feb 15, 2017

When adding a source, the provided user seems to need admin privileges in order to not get an error.

Otherwise there will be a "Unable to connect to source" error displayed in both the host list and a host's graphs, which both seem to otherwise work just fine.

Specifically, a READ grant on the telegraf database should be more than enough for Chronograf to work.

@goller
Copy link
Contributor

goller commented Feb 15, 2017

Hi @bmorg, thanks for writing in! Yes, I agree. We'll take a look at which queries are causing this problem. At the very least we should state what permissions the chronograf user needs (for example it would need to READ kapacitor).

@bmorg
Copy link
Author

bmorg commented Feb 15, 2017

Thanks @goller! I for one haven't even gotten around to installing Kapacitor yet, so I don't have a kapacitor database.

@goller goller self-assigned this Feb 16, 2017
@goller
Copy link
Contributor

goller commented Feb 16, 2017

@bmorg we found out that SHOW DATABASES for a read-only user is a limitation of influxdb at the moment. However, @mark-rushakoff is writing support for SHOW DATABASES right now for InfluxDB 1.3.

@mark-rushakoff
Copy link
Contributor

It's already merged in master of open source InfluxDB: influxdata/influxdb#7974

@goller goller removed their assignment Feb 16, 2017
@nhaugo
Copy link
Contributor

nhaugo commented Mar 27, 2017

Fixed by InfluxDB 1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants