Commit Graph

8 Commits (0350557c165452f14b5cdaf6f33ed66a15623e0d)

Author SHA1 Message Date
Stuart Carnie 216cfa329f feat(flux): Add user authentication and authorization support
* Add AuthorizeDatabase API to QueryAuthorizer to verify a user has
  appropriate access to the specified database
* Update serverFluxQuery handler to require a meta.User when auth is
  enabled
* update Flux createFromSource and createBucketsSource dependencies to
  require Authorizer when auth is enabled in configuration
* update createFromSource to verify read permissions for each bucket
  specified in a Flux query
* update BucketsDecoder, which implements the buckets() Flux function,
  to return buckets that the user has read or write permissions to
* add unit tests to verify authentication is required for Flux HTTP
  requests when auth is enabled in configuration
2018-12-19 14:46:12 -07:00
Stuart Carnie 881f27fe6f fix(flux): Call storage API to correctly map group mode
This fix ensures group(mode:"by") is correctly pushed down to the
storage layer.
2018-12-12 13:03:33 -07:00
Stuart Carnie 39a3d2335e chore(flux): Update to Flux 0.7.1
Resolve breaking API changes
2018-11-30 10:38:56 -07:00
Stuart Carnie a797529f6f feat(flux): Resolve db / rp during from spec creation
This change determines invalid db/rp values sooner and simplifies
implementation in Enterprise
2018-11-21 15:51:52 -07:00
Stuart Carnie 5bcb952b6f chore(cli): Improve APIs to increase reuse in Enterprise 2018-11-02 09:16:42 -07:00
Stuart Carnie 448e8079ad fix(storage): Update to latest flux and platform
* Due to a breaking API change, `BucketsDecoder` was updated to use
  `NewString` vs `NewStringValue`
2018-10-25 15:57:05 -07:00
Adam 74f2cbe500
added physical implementation for the buckets() function (#10373) 2018-10-17 10:22:07 -04:00
Stuart Carnie b4fed53a68 feat(flux): Update platform / flux packages and implement from source 2018-10-12 07:40:46 -07:00