Commit Graph

5923 Commits (7ef6078c981dcd492004ef42a31c55016ceaa890)

Author SHA1 Message Date
Michael Desa 65028027fd Add comments to DataStore interface and implemntn 2017-11-01 14:24:40 -04:00
Michael Desa eb845b1630 Fix routes tests 2017-11-01 14:09:58 -04:00
Jared Scheib 63e88e4853 Change version on UsersBucket to V2 for clean upgrade path
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-01 10:57:49 -07:00
Jared Scheib 2e0911dbd9 Add organizations and users routes to allRoutes
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-11-01 12:59:07 -04:00
Michael Desa 40feb4ae94 Change nil check to len == 0 check for userRequest 2017-11-01 12:38:26 -04:00
Michael Desa 46987558e0 Remove unused code 2017-11-01 12:35:09 -04:00
Michael Desa 569978b4f7 Add parseOrganizationID method 2017-11-01 12:34:00 -04:00
Michael Desa e7a94c18d6 Add comments throughout codebase 2017-11-01 12:30:42 -04:00
Michael Desa a3be77a4ba Fix Migrate Organizations to not overwrite name 2017-11-01 10:55:32 -04:00
Michael Desa a8a115ec50 Change function signature of hasSuperAdminContext 2017-11-01 10:39:09 -04:00
Michael Desa 4c0469cb07 Change OrganizationID to Organization in Me req 2017-11-01 10:37:32 -04:00
Michael Desa 0e18f8778b User explicit type when setting context 2017-11-01 09:49:02 -04:00
Michael Desa 3bfed5756d Remove setting default org on Principal 2017-11-01 09:21:35 -04:00
Michael Desa 37dc13d2c5 Fix organizations for default organization 2017-11-01 09:17:34 -04:00
Michael Desa 3ad2305c33 Add superAdmin to users CRUD 2017-11-01 09:12:19 -04:00
Jared Scheib d31d9e6cf0 Fetch live data from /chronograf/v1/users & load into Chronograf Admin Table
Move DUMMY_USERS data into admin/chronograf/loadUsers spec.
This adds a full roundtrip for populating the Chronograf Admin Table
with live data from the server. It includes a reducer & test, action
creator, and API request, which then loads the successful data into
the Redux and then the React component.
2017-11-01 00:51:40 -07:00
Jared Scheib aee3c9643d Add ID, Links, all Providers, & capitalize OAuth2 in dummy User data 2017-11-01 00:06:41 -07:00
Jared Scheib bd299f121e Specify Admin.InfluxDB as test name in influxdb admin reducer 2017-10-31 22:52:52 -07:00
Jared Scheib 1c55ae512a Rename adminSpec.js to influxdbSpec.js 2017-10-31 22:44:05 -07:00
Jared Scheib 23a09f2e97 Clarify name & import of adminInfluxDB reducer 2017-10-31 22:42:31 -07:00
Jared Scheib cb4d4d3aab Rename admin/apis/index.js to admin/apis/influxdb.js 2017-10-31 22:20:03 -07:00
Jared Scheib 9725520711 Rename 'admin' reducer to 'adminInfluxDB'
Rename actions/admin.js to actions/influxdb.js
2017-10-31 22:15:02 -07:00
Jared Scheib 5f457ca673 Prefix InfluxDB actions with 'INFLUXDB_' 2017-10-31 21:35:18 -07:00
Jared Scheib bb56b0ef45 Remove console logs 2017-10-31 21:22:17 -07:00
Jared Scheib 83326ea22e Render Create Org button & Filter Users dropdown based on Authorization
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-31 20:37:37 -07:00
Alex Paxton 56416ae629 Fix nav block route for split Admin
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-31 20:09:25 -07:00
Alex P 627e1eae9c Merge remote-tracking branch 'origin/multitenancy' into multitenancy_ui_superadmin_admin_panel 2017-10-31 20:08:12 -07:00
Alex Paxton 17561bd1d6 Merge pull request #2174 from influxdata/multitenancy_ui_role_authorization
Implement Role-based authorization UI for Viewer and Editor roles
2017-10-31 20:03:01 -07:00
Alex P 54251f7f19 Make chronograf admin table header into component 2017-10-31 20:00:43 -07:00
Alex P b8faa7525e Remove HTML placeholder for chronograf admin table filter input 2017-10-31 19:40:53 -07:00
Alex P f312a61dcc Make chronograf admin page header into stateless component 2017-10-31 19:37:00 -07:00
Alex P d733caddbf WIP Implement create organization overlay 2017-10-31 19:28:14 -07:00
Jared Scheib a0720061c8 Clear console logs on batch actions for now
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-31 18:45:17 -07:00
Alex P 48f203e33e Vertically center items within each table row 2017-10-31 18:41:37 -07:00
Alex P 13269958c0 Add margin between role and org column items 2017-10-31 18:41:24 -07:00
Alex P cc3b21087c Make plaintext items in the users table the same height as dropdowns
Prevents jitter and jank
2017-10-31 18:29:31 -07:00
Alex P a1668f6bb4 Fix merge conflicts 2017-10-31 18:26:54 -07:00
Alex Paxton bb12e6d13c Show Org dropdown when User not part of org
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-31 18:19:11 -07:00
Alex Paxton 6c1746b8b4 Add No Role string const & update No Org str const
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-31 18:18:51 -07:00
Jared Scheib 67f32be6ba Add Role dropdown to All Users table that logs req'd data for now
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-10-31 18:10:33 -07:00
Michael Desa 708c37dc67 WIP cleanup 2017-10-31 20:58:40 -04:00
Jared Scheib e28bf13c99 Rename chronograf/AllUsersTable to chronograf/UsersTable since serves as single-stop table 2017-10-31 17:50:12 -07:00
Michael Desa e7e17537a1 WIP make app usable by frontend 2017-10-31 19:50:03 -04:00
Jared Scheib 4bf7fafdbd Rename chronograf/AllUsersTable to chronograf/UsersTable since serves as single-stop table 2017-10-31 15:39:23 -07:00
Jared Scheib 8ad034fcef Add Role dropdown to All Users table that logs req'd data for now 2017-10-31 15:36:10 -07:00
Michael Desa f863bf2042 Add support for super admin 2017-10-31 18:27:24 -04:00
Michael Desa 2bd2c81bb7 Add noop implementation of each source type 2017-10-31 18:07:42 -04:00
Michael Desa cf64b2e506 Remove RawUsers from DataStore 2017-10-31 17:49:35 -04:00
Alex P 0fc0d7cff7 Prevent table column sizing jitter 2017-10-31 14:48:40 -07:00
Michael Desa 00b79a45eb Add org param to New Organizaiton methods 2017-10-31 17:40:58 -04:00