Commit Graph

4 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 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 b4fed53a68 feat(flux): Update platform / flux packages and implement from source 2018-10-12 07:40:46 -07:00