influxdb/query/stdlib
Jonathan A. Sternberg bea3a18330
fix(query/stdlib): use auth correctly in the v1.databases() call (#14927)
The `v1.databases()` call did not correctly filter buckets based on
auth. Fortunately, it did not cause any improper permissions such as
allowing a person to see buckets that they had no read access to.

The error instead was that if a user did not have read access to one of
the buckets that was returned, the entire command would fail rather than
filter out the bucket that didn't have permissions.

This changes it so that if the user doesn't gets an unauthorized error
when accessing a bucket, it will filter it from the list instead of
failing. It also changes it so the error message is marked as
`ENotFound` instead of as an internal error.
2019-09-05 10:35:23 -05:00
..
experimental fix(query/to): make orgID default to the context org 2019-08-23 11:03:26 -06:00
influxdata/influxdb fix(query/stdlib): use auth correctly in the v1.databases() call (#14927) 2019-09-05 10:35:23 -05:00
testing build(flux): upgrade to Flux v0.42.0 2019-08-30 13:02:30 -06:00
packages.go test(stdlib/testing): added new test driver to run builtin tests (#11916) 2019-02-21 22:03:29 -05:00