Jared Scheib
004b0e20ef
Add comments to exported functions
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-09 15:28:39 -07:00
Michael de Sa
990c4eee4d
Return users in usersResponse in sorted order
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-09 15:19:46 -07:00
Michael de Sa
1a6b446bf8
Add All route & operation for Chronograf Users
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-09 15:03:50 -07:00
Jared Scheib
37183d871c
Implement CRUD routes & operations for Chronograf User
...
Move source Users code into source_users and source_users_test files.
Use the UsersStore for both InfluxDB and Chronograf users.
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-09 14:16:24 -07:00
Chris Goller
a12fb32a2e
Update user's roles validation
2017-03-10 18:06:06 -06:00
Chris Goller
2652a3aeb0
Add ability to update roles on a user resource
2017-03-10 16:52:24 -06:00
Chris Goller
d5addb2038
Fix updating of OSS user permissions
2017-03-10 14:53:30 -06:00
Chris Goller
44aa0526ed
Update user/role responses to return empty arrays
2017-03-10 13:24:48 -06:00
Chris Goller
46b1a08aa5
Merge branch 'master' into feature/#54-tr-enterprise-client
...
Conflicts:
Makefile
chronograf.go
server/routes.go
server/users.go
2017-02-23 23:26:09 -06:00
Chris Goller
1fcdee485f
Add tests for /me endpoint
2017-02-21 21:36:23 -06:00
Chris Goller
cdd4575b98
Add GET/POST handlers for source users
2017-02-17 14:33:10 -06:00
Chris Goller
26b10dabd7
Update users to be go 1.7 compatible
2017-02-17 13:52:21 -06:00
Chris Goller
9b24351732
Refactor users and add client usersstore
2017-02-17 13:37:00 -06:00
Chris Goller
2017944b68
Add unified OAuth2 logout route redirecting to provider logout
...
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-02-15 16:29:13 -06:00
Hunter Trujillo
6d601d527f
Add frontend support for OAuth changes.
2017-02-15 11:57:52 -07:00
Tim Raymond
d07c7ca1d6
Reorganize OAuth2 Logic
...
Created an oauth2 package which encapsulates all oauth2 providers,
utility functions, types, and interfaces. Previously some methods of the
Github provider were used as http.HandlerFuncs. These have now been
pulled into a concrete type called a JWTMux to implement other Oauth2
providers.
JWTMux has all of the functionality required to take a token from any
provider and store it as a JWT in a browser, and that is the extent of
its responsibilities. It implements the oauth2.Mux interface which would
potentially allow other strategies of oauth2 credential storage.
2017-02-14 16:18:41 -05:00
Chris Goller
1522dc6e4e
Remove explorations from backend server
2017-02-01 15:09:02 -06:00
Chris Goller
a6cb4a1935
Update teapot to be informational
2016-12-07 13:28:58 -06:00
Will Piers
bc9ee7eeea
Rebase and add error logging for users endpoint
2016-11-21 14:24:01 -07:00
Will Piers
f3cdf81ab5
Return 418 when auth is turned off
2016-11-21 14:20:33 -07:00
Will Piers
d3da8998e8
Add users endpoints/storage plus me endpoint
2016-11-21 14:19:57 -07:00