Lyon Hill
bdc882f6ce
feat(session): Build out a new session service ( #17950 )
...
This new session service has the ability to work independant of other systems
it relies on having its own store type which should allow us to be more flexible
then using the built in kv system.
I have included an in mem session store.
2020-05-11 15:04:11 -06:00
George
00eb982b18
fix(kv): don't set session expiration time to earlier than existing expiration on renew session ( #17751 )
...
* chore(kv): add failing test for session renewal extension
* fix(kv): ensure renew session only updates expiration if it is newer than existing
* chore: update changelog to reflect renew session expiration fix
2020-04-15 16:45:29 +01:00
Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Todd Persen
cd64ec8718
Fix typos in miscellaneous packages
2019-04-17 13:30:22 -07:00
Michael Desa
01983553c4
feat(influxdb): add authorization for user actions
2019-01-17 16:05:24 -05:00
Kelvin Wang
0b90767a31
feat(http): add renew session
2019-01-16 11:07:35 -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
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
Leonardo Di Donato
486e25a46f
feat(testing): session tests consider platform errors now
2018-12-21 09:56:23 +01:00
Mark Rushakoff
dae3dc8a7e
chore(bolt,http,mock,query,testing): fix megacheck errors
2018-11-01 12:54:46 -07:00
Chris Goller
2bea48f15a
refactor(testing): rename MustIDFromString to MustIDBase16
2018-10-11 09:54:19 -05:00
Leonardo Di Donato
d028aa5bed
fix(platform/testing): porting onboarding and session tests to uint64 IDs
...
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
2018-10-11 09:54:18 -05:00
Michael Desa
d7e7b9ca9b
test(testing): add session conformance tests
2018-09-27 15:44:47 -04:00