Jade McGough
c27a96da9a
chore(http): surface unmarshaling failures in tests ( #13855 )
2019-05-08 12:51:03 -07:00
Chris Goller
83c43e7173
fix(http): log endpoint should be logs
2019-03-11 12:45:25 -05:00
zhulongcheng
be37e07bea
feat(http): construct member handler by MemberBackend
2019-02-06 19:18:23 +01:00
Mark Rushakoff
3f2a5578a5
fix(http): fix typo in owner/member links
...
There was an extra s in owner links, for example:
{"links":{"self":"/api/v2/taskss/034356818538f000/owners"},"users":[]}
All of the ResourceType values in authz.go already are plural, so I am
fairly certain that the extra s was just a typo all along.
2019-01-17 14:09:03 -08:00
Michael Desa
c60031a6b7
fix(influxdb): change resource to resource type
2019-01-15 12:57:57 -05:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Jade McGough
7562c9a6d2
chore(http): make test diffs more readable ( #2203 )
...
* chore(http): make test diffs more readable
* fixes
* add back telegraf output spacing
* whitespace hell
* jsonEqual2 -> jsonEqual
2019-01-03 14:29:22 -08: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
zhulongcheng
c534a43f2f
add tests for members/owners endpoints
2018-12-15 00:18:50 +08:00