Andrew Watkins
3429e8d0c6
feat(auth): rewrite authorization service ( #2157 )
...
* feat(view-token-overlay): add view token overlay
* test(tokens): update tests
* chore(auths): rename mock data file
* feat(token-view): clicking on description opens token view modal
* feat(token-view): add ability to close overlay
* feat(token-view): display token permissions with updated permissions shape
* feat(token-view): wip update authorization and permission shapes
* feat(auth): wip refactor auth permissions
* fix(auth): generate permissions via functions
* fix(auth): make Id ID
* chore(types): update generated client
* feat(auth): wip add user and org names to auth
* fix(user): didnt save rebase
* feat(auth): WIP refactor auth
* feat(auth): check for user existence during auth creation
* feat(auth): org must exist during auth creation
* fix(auth): pluralize telegrafs resource type
* docs(http): update swagger definition for the Authorization
* test(auth): fix broken tests
* docs(swagger): update cur_swagger Authrorizations
* fix(api): remove trace from cur_swag
* test(ui/token): update components with new generated type definitions
* feat(http): add lookup service adding names for permissions
* fix(http): remove debugging panics
* chore: go tidy
* fix: unsaved rebase
* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Kelvin Wang
ddaa602014
fix(http): convert write endpoint error
2018-12-21 20:19:30 -05:00
zhulongcheng
5f40883342
add custom-404 handler
2018-12-16 22:55:39 +08:00
Michael Desa
407c01cb17
fix(platform): use authorizer instead of authorizion for endpoints
...
feat(platform): add ToPermissions method to user resource mapping
The ToPermissions method returns a set of permissions that is granted
via a user resource mapping.
feat(bolt): resolve sessions permissions on lookup
feat(http): use authorizer instead of authorization service for write api
feat(bolt): create user resource mappings for org users in bucket create
feat(bolt): create user resource mapping for first org/user
fix(platform): use authorizer for query endpoint instead of authorization
test(http): use cmp instead of reflect for decode test
2018-11-20 10:56:58 -08:00
Chris Goller
d2ecf8aad6
http(write): support timestamp precision
2018-10-25 21:23:50 -05:00
Chris Goller
d62e2e009a
test(http): add tests for write client
2018-10-25 19:13:53 -05:00
Chris Goller
6f4bd54afc
feat(http): add http write client
2018-10-25 19:11:12 -05:00
Jeff Wendling
260ed3eb13
chore: don't depend on details of what platform.ID is
...
It may become a uint64 in the future, for example. This does mean
that we have to call Decode on some data that we just Encoded, but
we can fix that later.
2018-10-08 12:31:39 -06:00
Edd Robinson
81e0fbabeb
Integrate WAL into engine
2018-10-05 12:44:27 +01:00
Jeff Wendling
6a0fc9237c
Read/write points with the appropriate measurement
2018-10-03 17:39:30 -06:00
Jeff Wendling
6176671ecb
Change how the write and query handlers look at auth
2018-10-03 15:55:56 -06:00
Michael Desa
1a0c29ad34
feat(platform): add authorizer interface
...
This iterface is supposed to be something that both sessions and
authorizations can share so that other components can authorize requests
as they see fit.
2018-10-02 14:11:44 -04:00
Lorenzo Fontana
1a2f606533
Convert everything to /api/v2
...
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-09-28 14:23:21 +02:00
Chris Goller
b48fad0c4e
Merge pull request #771 from influxdata/feature/query
...
feat(http): add flux endpoint /v2/query influx
2018-09-06 11:27:54 -05:00
Jade McGough
43e0d143e7
chore(http): return early if a critical error occurs in write path org/bucket lookup ( #767 )
2018-09-05 15:53:57 -07:00
Chris Goller
37bd273acd
feat(http): add flux endpoint /v2/query influx
2018-09-04 16:08:00 -05:00
Mark Rushakoff
eb24f2d780
fix(http): fix compile error from outdated merge
2018-08-30 09:16:07 -07:00
Jade McGough
b39ba889e4
feat(http): add write path ( #682 )
...
feat(http): Add write path with embedded NATS streaming server
2018-08-29 16:15:39 -07:00