Commit Graph

8 Commits (1f2d8f383aef869fe690662c4ccb33f3f5b20503)

Author SHA1 Message Date
Michael Desa e27936ee69 Add Num to UsersStore interface 2017-11-30 12:55:59 -05:00
Michael Desa 0d235f646d Generalize chronograf.UsersStore Get method
The `Get` method on the UsersStore was generalize by changing the second
parameter to a struct. This allows the Store to retrieve users by more
than simply their name.

-Get(ctx context.Context, name string) (*User, error)
+Get(ctx context.Context, q UserQuery) (*User, error)
2017-10-18 14:17:42 -04:00
Chris Goller 2652a3aeb0 Add ability to update roles on a user resource 2017-03-10 16:52:24 -06:00
Chris Goller 44aa0526ed Update user/role responses to return empty arrays 2017-03-10 13:24:48 -06:00
Chris Goller 8d014e9b94 Update InfluxEnterprise users to return their roles 2017-03-01 19:13:44 -06:00
Chris Goller 1839cb9885 Fix enterprise create user to add permissions 2017-02-24 01:16:28 -06:00
Chris Goller 5aa6a4ef2b Add roles to chronograf 2017-02-23 16:02:53 -06:00
Chris Goller dc2080aa4d Add tests for enterprise UsersStore handler 2017-02-21 13:28:54 -06:00