Michael Desa
bef148ffd2
fix(platform): check for matching ids when permission matching
2019-01-09 11:16:02 -05:00
Michael Desa
6f0d55d19e
feat(platform): add constructor for org member and admin permssions
2019-01-09 10:35:21 -05:00
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
Michael Desa
81d1520dc6
fix(platform): keep authorization struct on proxy query request
...
As a result of pr https://github.com/influxdata/platform/pull/1494 , idpe
broke. This PR undoes some of the work done from that PR, but fixes the
underlying issue with #1494 .
2018-11-20 15:20:51 -08:00
Kelvin Wang
74ef984e53
add http for telegraf
2018-10-30 14:00:10 -04:00
Michael Desa
42ba7ffe11
feat(http): add authentication handler middleware
2018-10-02 14:11:44 -04: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