Commit Graph

6438 Commits (9c9955539052a334d009fe3165ecdd1cf3838495)

Author SHA1 Message Date
Jared Scheib 9c99555390 Merge pull request #2506 from influxdata/multitenancy
Add support for multiple organizations, multiple users with role-based access control, and private instances
2017-12-07 11:21:02 -08:00
Jared Scheib 94bdb0da9a Update changelog 2017-12-07 11:11:44 -08:00
Jared Scheib edc72c6a3a Remove failing propType when not using auth 2017-12-06 19:10:08 -08:00
Jared Scheib 31f012ff8f Merge branch 'master' into multitenancy 2017-12-06 19:05:16 -08:00
Jared Scheib 505548584d Merge pull request #2399 from influxdata/multitenancy_reset_current_org
Refactor server to issue 403s instead of 401s; handle 403s & routing in client; remove source Role concept
2017-12-06 18:58:40 -08:00
Luke Morris bc89216d2d Repair go integration spec - we return 403s now
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:50:53 -08:00
Jared Scheib 7b4a781695 Repair javascript specs
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 18:39:45 -08:00
Luke Morris 23c7ba312d If a superadmin is removed from an organization, send to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:39:45 -08:00
Luke Morris 4178a1177e If a superadmin is removed from an organization, send to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:14:24 -08:00
Jared Scheib d8851191d1 Display helpful messages to users
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:56:12 -08:00
Luke Morris cdac1bd870 When user removed from private org, log them out
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 17:53:30 -08:00
Hunter Trujillo ea06f62b1b Merge pull request #2495 from influxdata/feature/yowo
You're Only Warned Once
2017-12-06 18:35:52 -07:00
Jared Scheib a910bba1c2 Refactor to use isUsingAuth
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:24:01 -08:00
Luke Morris 7ad5259972 Allow superadmin-members to login from Purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 17:22:36 -08:00
Jared Scheib e2bb186acf Add failsafe to kick user to login if me becomes null
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:07:24 -08:00
Hunter Trujillo 1abe25c0d7 Merge pull request #2427 from influxdata/feature/infinite-scroll
Infinite Scroll
2017-12-06 17:17:16 -07:00
Luke Morris 0c040e96b6 Revert "Revert "Log out user if organization is gone on the server""
This reverts commit cf4bacf6da.
2017-12-06 15:44:09 -08:00
Jared Scheib 52e821f945 meGetCompleted requires me/auth/logoutLink from AJAX response
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 15:40:09 -08:00
Luke Morris cf4bacf6da Revert "Log out user if organization is gone on the server"
This reverts commit d727434de6.
2017-12-06 15:23:18 -08:00
Luke Morris d727434de6 Log out user if organization is gone on the server 2017-12-06 15:10:48 -08:00
Andrew Watkins 058d9757e7 Merge pull request #2499 from influxdata/origin/multitenancy/enter-and-escape-admin-user
Add enter and escape key behavior to Chronograf admin users page
2017-12-06 15:07:54 -08:00
Jared Scheib b63531c52a Clean up error message for consistency 2017-12-06 14:57:49 -08:00
Hunter Trujillo b85fa609de Merge pull request #2496 from influxdata/multitenancy_fix_sources_update
Fix Sources Update on Source Creation or Updation
2017-12-06 15:34:45 -07:00
Jared Scheib dd466c27bf Add notification for successful delete of source 2017-12-06 14:25:19 -08:00
Jared Scheib 56ba45598b Fix notification copy on add & update source 2017-12-06 14:23:49 -08:00
deniz kusefoglu 63ff785bd1 Add enter and escape key behavior to Chronograf admin users page 2017-12-06 14:22:27 -08:00
Hunter Trujillo 02059a1199 Same story for updateSourceAction. 2017-12-06 15:06:21 -07:00
Jared Scheib c3b1173b31 Fetch sources anew if showDatabases fails; communicate errors to user
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 13:42:51 -08:00
Hunter Trujillo 279813e0b1 Fix source updating upon adding sources by calling the bound action creator from props instead of just the action creator by itself. 2017-12-06 14:38:37 -07:00
Luke Morris 1d9797540c Route demoted admin to / from /admin-chronograf
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 11:03:12 -08:00
Hunter Trujillo 9b7c4dd1bf Add reducer to keep track of dismissed notifications. So that You're Only Warned Once. 2017-12-06 09:28:10 -07:00
Jared Scheib 14e8e70484 Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 18:47:05 -08:00
Luke Morris c1c2cbd4d4 Don't route superadmin to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 18:40:16 -08:00
Luke Morris 95984659cd Display error notification to a Viewer if logging into organization with no sources
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 18:36:07 -08:00
Jared Scheib a845ad8c59 Require min role Viewer to perform GET on /sources in CheckSources
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 17:40:31 -08:00
Jared Scheib f7b26ed43a Merge pull request #2484 from influxdata/multitenancy_fix_layouts
Fix layouts / host apps to make them show to all users
2017-12-05 16:50:25 -08:00
Michael Desa fa5afee745 Merge pull request #2446 from influxdata/multitenancy_api_integration_test
Add initial API integration tests
2017-12-05 19:26:59 -05:00
Jared Scheib ff1cde524b Merge branch 'multitenancy' into multitenancy_fix_layouts 2017-12-05 16:03:05 -08:00
Jared Scheib 71f2237d24 Refactor client to consume modified /layouts endpoint & data shape
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 16:00:02 -08:00
Luke Morris 3721571361 Combine actions & reducers for me & auth & logoutLink to synchronize state update
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 15:37:39 -08:00
Jared Scheib 53e1803b44 Merge pull request #2492 from influxdata/multitenancy_login_buttons
Login Button Spacing Fix
2017-12-05 14:48:27 -08:00
Jared Scheib 195e8ed57d Refactor CheckSources to ES6 React class
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 14:34:29 -08:00
Michael Desa 2ec8da815b Remove Organization field from layouts 2017-12-05 17:28:33 -05:00
Michael Desa e8c19bfd73 Remove organization LayoutsStore 2017-12-05 17:14:21 -05:00
Michael Desa 8ff0e2947b Remove Create/Update/Delete logic for Layouts 2017-12-05 17:11:16 -05:00
Michael Desa c9471d4084 Remove /mappings in place of /layouts
Remove POST/PUT/DELETE methods to /layouts
2017-12-05 17:07:09 -05:00
Alex P eb16ed839b Ensure more pleasing margins on login buttons when quantity is variable 2017-12-05 13:51:48 -08:00
Jared Scheib 9b87433ddf Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 13:37:46 -08:00
Nathan Haugo e5afdc3c23 Merge pull request #2410 from influxdata/gauge-cell-type
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib 4f43d2a137 Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00