Commit Graph

6504 Commits (82871771e9fc2f7d98de494c1cba8ac7bc93c9c4)

Author SHA1 Message Date
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
Andrew Watkins dcf7fdc010 Use organizations state instead of me: currentOrganization 2017-12-13 16:06:13 -08:00
Andrew Watkins 5ec09d22b9 Update CHANGELOG 2017-12-13 15:43:58 -08:00
Andrew Watkins f7ef728a3b 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 058f5fbc20 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 5c9b4fc3e7 Make switch-orgs button take users to purgatory 2017-12-13 14:17:38 -08:00
Alex P 7dfd0c9312 Change design to be consistent with Purgatory logout button 2017-12-13 14:17:38 -08:00
Alex P 18b666660d 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 63ea69e679 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 172b1f827d Rename css class to use 'config' instead of 'settings' 2017-12-13 13:55:06 -08:00
Jared Scheib a54712f600 Add config.self & config.auth routes, update client routes & make PATCH a PUT 2017-12-13 13:54:23 -08:00
Michael Desa 6059f155a1 Remove SuperAdminFirstUserOnly CLI flag
Wire up boltdb config store
2017-12-13 11:55:36 -08:00
Michael Desa c718847014 Wire up bolt db ConfigStore in Server 2017-12-13 10:46:08 -08:00
Michael Desa 331fa6f897 Add bolt implementation of chronograf.ConfigStore 2017-12-13 10:38:01 -08:00
Michael Desa 9c989083a8 Add PUT /config/:section route 2017-12-13 09:28:39 -08:00
Michael Desa d0f63ca0e0 Add /config/:section endpoint 2017-12-13 09:04:44 -08:00
Andrew Watkins 425697d677 Merge pull request #2554 from influxdata/bugfix/range
Prevent inversion of graph
2017-12-13 08:09:56 -08:00
Michael de Sa 17460e397b Implement Config GET service method
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-12 17:06:57 -08:00
Jared Scheib 1e42cd6e0e Add /config link to AllRoutes handler
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-12 15:11:30 -08:00
Jared Scheib b2591828fe Pass through config link to redux 2017-12-12 15:10:54 -08:00
Luke Morris 438bca1fc1 Invert only the user nav; leave alerting/admin untouched 2017-12-12 14:48:22 -08:00
Jared Scheib 74ffdab074 Move & rename Settings boilerplate to dedicated shared Config boilerplate 2017-12-12 14:39:40 -08:00
Andrew Watkins f2388ea927 Update CHANGELOG 2017-12-12 14:34:30 -08:00
Andrew Watkins b8d2421f23 Prevent inversion of graph 2017-12-12 14:34:30 -08:00
Jared Scheib 2119dcb60a Wire up SuperAdminFirstUserOnly toggle in UI
The API does not exist yet, and the shape and location
in redux may change.
2017-12-12 14:02:17 -08:00
Alex P 4bba4542be Create settings table beneath organizations table
Only 1 setting for now, when we have more we can find a better home for
it
2017-12-12 14:02:17 -08:00
lukevmorris ac51c96c7f Merge pull request #2560 from influxdata/2422-disallow-viewer-switch-kapacitors-rebased
Render static text instead of kapacitor switching dropdown for Viewers
2017-12-12 13:41:13 -08:00
Alex P e67dc7ebbf Render static text instead of kapacitor switching dropdown for Viewers 2017-12-12 13:40:01 -08:00
lukevmorris 3247269129 Merge pull request #2559 from influxdata/multitenancy_fix_add_spaces_to_org_create_rebased
Allow new Organization names to include spaces
2017-12-12 13:38:29 -08:00