Jared Scheib
faa32266bd
Fix destructuring bug in arg with default value
2017-12-15 16:05:57 -08:00
Jared Scheib
4c5429b2d3
Update copy of notification upon switch & become Admin
2017-12-15 16:05:57 -08:00
Michael Desa
a4736148c0
Allow SuperAdmins to change into any organization
2017-12-15 16:05:56 -08:00
Jared Scheib
b6af6cf190
Notify SuperAdmin of new Admin role switching to organization where they had no role
2017-12-15 16:05:51 -08:00
Jared Scheib
03c04a393d
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
139026ce84
Add 'Join' button to the left of Organizations where a SuperAdmin has no role
2017-12-15 16:05:38 -08:00
Jared Scheib
ef87d4cee5
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
210dbb1f89
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
Jared Scheib
b731bf5aa0
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
Jared Scheib
39278f6048
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
6820977a38
Fix wording on API integration tests
...
Format JSON in test to match others
2017-12-14 15:54:27 -08:00
Michael Desa
4223767c53
Use serverContext for getting Config in NewUser
2017-12-14 13:34:19 -08:00
Nathan Haugo
971156edf0
Bump version to 1.4.0.0-beta2
2017-12-14 12:45:44 -08:00
Nathan Haugo
73861d6e5c
Merge pull request #2581 from influxdata/fix-optin-cursor
...
Fix optin cursor
2017-12-14 12:07:07 -08:00
Nathan Haugo
951fcf57c0
Merge branch '1.4.0.x' into fix-optin-cursor
2017-12-14 12:05:58 -08:00
Michael Desa
f8894b7d2d
Clarify comment in organization/users Add method
2017-12-14 11:46:51 -08:00
Nathan Haugo
52caff1fbc
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
61ef8937ba
Add comment clarifying UsersStore Add method
2017-12-14 11:36:26 -08:00
Jared Scheib
b85b14437f
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
da605ac138
Set SuperAdmin for NewUsers based on ConfigSetting
2017-12-14 11:11:51 -08:00
Michael Desa
1298c2eedc
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
456488f0ac
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
9c78909916
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
14599e0f0a
Add comment about firstUser superAdmin logic
2017-12-14 10:46:55 -08:00
Nathan Haugo
7f0d6f6937
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
688fef1185
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
51ab38a335
Update changelog
2017-12-13 17:40:02 -08:00
Michael Desa
392594539b
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
75af1a1a28
Remove cruft
2017-12-13 17:30:32 -08:00
Nathan Haugo
3a953d99bc
Merge pull request #2563 from influxdata/bugfix/y-axis-undefined
...
y axis title undefined
2017-12-13 17:29:00 -08:00
Andrew Watkins
f2d268be3b
Fix CHANGELOG shame
2017-12-13 17:28:11 -08:00
Nathan Haugo
e3fe3c6405
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
b7ad5b9fd8
Refactor handleChangeAuthConfig to be simpler & more modular
2017-12-13 17:23:30 -08:00
Andrew Watkins
eed16d8173
Merge branch '1.4.0.x' into bugfix/y-axis-undefined
2017-12-13 17:21:48 -08:00
Andrew Watkins
c7149543be
Update CHANGELOG
2017-12-13 17:17:43 -08:00
Andrew Watkins
537d2448c7
Update placeholder if y-axis default title is empty
2017-12-13 17:15:58 -08:00
Andrew Watkins
e69dc3d057
Do not return a label if provided with empty query config
2017-12-13 17:15:58 -08:00
Nathan Haugo
55bebc9844
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
2b38918a44
Prevent users joining default org if private
2017-12-13 16:59:02 -08:00
Nathan Haugo
a74a764397
Fix tool tip verbiage and master the art of css
2017-12-13 16:58:44 -08:00
Andrew Watkins
62874bacd6
Use organizations state instead of me: currentOrganization
2017-12-13 16:06:13 -08:00
Andrew Watkins
f2c410b96c
Update CHANGELOG
2017-12-13 15:43:58 -08:00
Andrew Watkins
1db7817a02
Fix organization default role being stale on chrono users page
...
The 'currentOrganization' namespaced in the auth reducer does not get
updated when chronograf organizations reducer gets updated. This
results in temporary stale state until `/me` is hit and the 'me auth'
state trickles through the application.
2017-12-13 15:43:57 -08:00
Jared Scheib
f23075cbc4
Rename superAdminFirstUserOnly to superAdminNewUsers & flip default logic accordingly
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-13 14:49:49 -08:00
deniz kusefoglu
5058fe1a91
Make switch-orgs button take users to purgatory
2017-12-13 14:17:38 -08:00
Alex P
70e1be9e8b
Change design to be consistent with Purgatory logout button
2017-12-13 14:17:38 -08:00
Alex P
5805f78814
WIP Add button to Manage Sources page for switching organizations
...
Also added some icons to the buttons
2017-12-13 14:17:38 -08:00
Jared Scheib
a54ca8afe2
Update state in SlideToggle when props update
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-12-13 13:57:09 -08:00
Jared Scheib
513f416840
Rename css class to use 'config' instead of 'settings'
2017-12-13 13:55:06 -08:00
Jared Scheib
5c813493ea
Add config.self & config.auth routes, update client routes & make PATCH a PUT
2017-12-13 13:54:23 -08:00