Commit Graph

6608 Commits (adfda54ff9022c5711959fa2928df8160a662ea7)

Author SHA1 Message Date
Luke Morris d201fa941a WIP 2017-12-16 01:01:14 -08:00
Jared Scheib 5bfed911b3 Fix destructuring bug in arg with default value 2017-12-15 16:05:57 -08:00
Jared Scheib cb88e31a7a Update copy of notification upon switch & become Admin 2017-12-15 16:05:57 -08:00
Michael Desa 75d6c659f3 Allow SuperAdmins to change into any organization 2017-12-15 16:05:56 -08:00
Jared Scheib 531b0d2afd Notify SuperAdmin of new Admin role switching to organization where they had no role 2017-12-15 16:05:51 -08:00
Jared Scheib 92c7dabf59 Revert "Add 'Join' button to the left of Organizations where a SuperAdmin has no role"
This reverts commit dffde0e5371ce82d2a3f2c785bdcdf43cf6a2c3b.
2017-12-15 16:05:45 -08:00
Jared Scheib 34301cb371 Add 'Join' button to the left of Organizations where a SuperAdmin has no role 2017-12-15 16:05:38 -08:00
Jared Scheib e5c4a4a403 Disable 'Switch to' button in OrganizationsTable for any orgs user has no role in
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-12-15 16:05:27 -08:00
Jared Scheib 0f075d7b9d Merge pull request #2603 from influxdata/feature/issues#2602
Reference known issue #2601 in Admin creating SuperAdmin response
2017-12-15 15:59:08 -08:00
Jared Scheib 292f496c9d Merge pull request #2600 from influxdata/2579-populate-default-role
Load admin's organizations when loading users table
2017-12-15 15:39:32 -08:00
Jared Scheib 5213d66544 Show spinner until UsersTable has users & organizations data 2017-12-15 15:31:58 -08:00
Jared Scheib fbc224107e Reference known issue #2601 in Admin creating SuperAdmin response
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-15 15:05:27 -08:00
Luke Morris f9798d671f Load admin's organizations when loading users table 2017-12-15 13:57:00 -08:00
Jared Scheib ad22233adb Merge pull request #2590 from influxdata/2544-missing-dashboard-should-404
Attempting to access missing dashboard should redirect user to `/sources/:sources_id/dashboards`
2017-12-15 11:48:55 -08:00
Jared Scheib ab2c60188d Merge pull request #2592 from influxdata/multitenancy_prevent_console_error_from_errors_middleware
Prevent console error from failed ES6 destructuring when ERROR_THROWN is not from HTTP
2017-12-14 19:04:44 -08:00
Luke Morris 7b1d32c26b Tell the user what went wrong 2017-12-14 18:36:18 -08:00
Jared Scheib 4448b187ba Only attempt to access error.data.message if error is 403'd AJAX
Use lodash to avoid destructuring

error.data.message should only exist for failed AJAX requests.
Currently we only handle 403 (HTTP_FORBIDDEN) here.
2017-12-14 18:19:29 -08:00
Luke Morris ebbb98426c Should abort DashboardPage mount immediately after redirect 2017-12-14 17:38:22 -08:00
Luke Morris 59427db2e0 If dashboard is missing, redirect to dashboards index 2017-12-14 17:36:44 -08:00
Jared Scheib 8d3e2f1c0e Merge pull request #2584 from influxdata/fix/issue#2583
Use serverContext for getting Config in NewUser
2017-12-14 16:49:31 -08:00
Michael Desa 8252fe5149 Fix wording on API integration tests
Format JSON in test to match others
2017-12-14 15:54:27 -08:00
Michael Desa 1f6f78d3fd Use serverContext for getting Config in NewUser 2017-12-14 13:34:19 -08:00
Nathan Haugo a91b3ef104 Bump version to 1.4.0.0-beta2 2017-12-14 12:45:44 -08:00
Nathan Haugo f43e10c396 Merge pull request #2581 from influxdata/fix-optin-cursor
Fix optin cursor
2017-12-14 12:07:07 -08:00
Nathan Haugo c5f53e54df Merge branch '1.4.0.x' into fix-optin-cursor 2017-12-14 12:05:58 -08:00
Michael Desa b60ea8600d Clarify comment in organization/users Add method 2017-12-14 11:46:51 -08:00
Nathan Haugo f6f3d24a70 Merge pull request #2552 from influxdata/fix/issue#2540
Only promote user to super admin in user org store
2017-12-14 11:43:33 -08:00
Michael Desa f86004cda3 Add comment clarifying UsersStore Add method 2017-12-14 11:36:26 -08:00
Jared Scheib 82871771e9 Remove superAdmin toggle & data when creating a new user
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-12-14 11:15:34 -08:00
Michael Desa e8861e9b74 Set SuperAdmin for NewUsers based on ConfigSetting 2017-12-14 11:11:51 -08:00
Michael Desa c7e3ebdc41 Only promote user to super admin in user org store
Add diff check to Organization UsersStore Add tests

Previously, a users super admin status was disregarded in the Add
facade. This was problematic when new users were added with a super
admin status, because they would not be granted the status. This created
an odd user experiece.
2017-12-14 10:56:23 -08:00
Jared Scheib 0e1bcfc9c6 Merge pull request #2355 from influxdata/multitenancy_all_users_superadmin_toggle
UI Toggle & API for SuperAdminFirstUserOnly server config
2017-12-14 10:54:18 -08:00
Michael Desa 58840caead Merge pull request #2549 from influxdata/fix/issue#2524
Prevent user joining private default org
2017-12-14 10:51:32 -08:00
Jared Scheib 27fe23b161 Add comment about firstUser superAdmin logic 2017-12-14 10:46:55 -08:00
Nathan Haugo 49a5036d4f Merge pull request #2571 from influxdata/switch-orgs-from-manage-sources-rebased
Switch orgs from manage sources rebased
2017-12-13 17:49:34 -08:00
Nathan Haugo aad8247aba Merge pull request #2572 from influxdata/bugfix/user-role-public-org
Fix organization default role being stale on chrono users page
2017-12-13 17:41:47 -08:00
Luke Morris 4bf2d1fda6 Update changelog 2017-12-13 17:40:02 -08:00
Michael Desa 4369c9d708 Add SuperAdmin to default org, even if private
Add user to default org if org is public
2017-12-13 17:38:57 -08:00
Andrew Watkins 65089611e4 Remove cruft 2017-12-13 17:30:32 -08:00
Nathan Haugo 10172cc9fc Merge pull request #2563 from influxdata/bugfix/y-axis-undefined
y axis title undefined
2017-12-13 17:29:00 -08:00
Andrew Watkins 4bff44f545 Fix CHANGELOG shame 2017-12-13 17:28:11 -08:00
Nathan Haugo 13a3393de3 Merge pull request #2564 from influxdata/2561-invert-only-user-nav
Invert only the user nav; leave alerting/admin untouched
2017-12-13 17:28:10 -08:00
Jared Scheib f7bbef2b30 Refactor handleChangeAuthConfig to be simpler & more modular 2017-12-13 17:23:30 -08:00
Andrew Watkins 6c786ef533 Merge branch '1.4.0.x' into bugfix/y-axis-undefined 2017-12-13 17:21:48 -08:00
Andrew Watkins aac590dd8b Update CHANGELOG 2017-12-13 17:17:43 -08:00
Andrew Watkins ba9e5f2916 Update placeholder if y-axis default title is empty 2017-12-13 17:15:58 -08:00
Andrew Watkins 83aa2da7fa Do not return a label if provided with empty query config 2017-12-13 17:15:58 -08:00
Nathan Haugo 6bc89f31ab Merge pull request #2576 from influxdata/feature/fix-verbiage
Fix tool tip verbiage and master the art of css
2017-12-13 17:06:09 -08:00
Michael Desa 2b60043016 Prevent users joining default org if private 2017-12-13 16:59:02 -08:00
Nathan Haugo 4fedf398d0 Fix tool tip verbiage and master the art of css 2017-12-13 16:58:44 -08:00