Commit Graph

6078 Commits (5dc7444678512eb52d873ff19396383e8fc20058)

Author SHA1 Message Date
Nathan Haugo 5dc7444678 Merge pull request #2406 from influxdata/multitenancy_disallow_null_org_on_user
Multitenancy disallow null org on user
2017-11-29 14:12:06 -08:00
Jared Scheib 50e2f4dcc9 Merge pull request #2401 from influxdata/multitenancy_rename_default_org-2202
Allow Default org to be renamed in UI; remove Default component
2017-11-27 12:48:32 -06:00
Michael Desa a455bac3ce Accept name,provider,scheme in UpdateUser if unchanged 2017-11-22 15:20:48 -05:00
Michael Desa 942671b604 Ensure that organzation on role is valid org id 2017-11-22 15:03:15 -05:00
Michael Desa 5fa2e212fa Disallow empty organization id create/update user 2017-11-22 14:49:44 -05:00
Jared Scheib 17fbfdc020 Allow Default org to be renamed in UI; remove Default component 2017-11-21 17:57:16 -06:00
Alex Paxton 103ba9d6f5 Merge pull request #2396 from influxdata/user-menu-inverse-triangle
Add invisible hover triangle for user menu on small screens
2017-11-21 09:35:20 -08:00
Jared Scheib 227b5e086b Merge pull request #2395 from influxdata/multitenancy_refresh_orgs_on_add-2344
Refresh organizations in User nav after updating organizations
2017-11-21 09:32:33 -08:00
Jared Scheib 7177503788 Merge pull request #2392 from influxdata/multitenancy_ui_prevent_sources_error_on_org_switch
Prevent sources error notification on org switch
2017-11-21 09:31:34 -08:00
Alex P 6f713c9141 Add invisible hover triangle for user menu on small screens 2017-11-20 19:59:02 -08:00
Jared Scheib 9566a6b534 Update ME request action names, action creators, & reducers to AJAX cycle convention 2017-11-20 21:23:24 -06:00
Jared Scheib a600577b42 Refactor getMe & refresh me for SideNav upon change organizations 2017-11-20 21:23:23 -06:00
Jared Scheib 111a6a7121 Prevent sources error notification from invalid showDatabases in CheckSources upon meChangeOrganization 2017-11-20 19:07:52 -06:00
Jared Scheib 418f8513bf Refactor CheckSources to call getSources thunk instead of loadSources & errorThrown 2017-11-20 19:06:31 -06:00
Jared Scheib 7033caed32 Merge branch 'multitenancy-merge-master' into multitenancy 2017-11-16 17:06:26 -08:00
Jared Scheib 0a9b755dc8 Merge branch 'multitenancy' into multitenancy-merge-master 2017-11-16 17:03:30 -08:00
Alex Paxton e95aaf2179 Merge pull request #2352 from influxdata/multitenancy_purgatory_switching
Switch Organizations from Purgatory
2017-11-16 13:16:21 -08:00
Jared Scheib 78705185f4 Add mock.Store to queries test
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-16 13:01:20 -08:00
Alex P a10477e0f4 Refactor Purgatory to be a stateless functional component 2017-11-14 15:17:53 -08:00
Alex P 423b709aa6 Refactor common elements from Login and Purgatory into shared wrapper 2017-11-14 13:25:35 -08:00
Alex P 9dc309c0cc Refactor purgatory list items into own component 2017-11-14 12:15:25 -08:00
Andrew Watkins c4abfd3eba Merge pull request #2358 from influxdata/feature/source-form-role
Source form role selection
2017-11-14 06:12:08 -08:00
Jared Scheib 59fb016a4e Merge branch 'master' into multitenancy 2017-11-14 00:05:18 -08:00
Michael Desa 0744eceb31 Merge pull request #2295 from influxdata/multitenancy_migrate_resources
Migrate all orphaned resources to DefaultOrg
2017-11-14 02:47:45 -05:00
Michael Desa 505e4fad57 Add organizations to newDashboardResponse tests 2017-11-13 23:37:50 -08:00
Jared Scheib 9b56045f8f Add Organization ID to dashboards response
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-11-13 23:28:41 -08:00
Michael de Sa 579f946f00 Fix tests broken in 96a362cb
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-13 23:10:26 -08:00
Alex Paxton c84c7ef360 Merge pull request #2348 from influxdata/multitenancy_user_nav_polish
Multitenancy User Nav Polish
2017-11-13 22:50:56 -08:00
Jared Scheib fdc08d36c5 Update copy & add tooltip for required Role 2017-11-13 22:50:10 -08:00
Alex P 74cf0f26c4 Render more space efficient user nav when viewport is insufficient 2017-11-13 22:25:15 -08:00
Jared Scheib b1c6778352 Add emphasis & fix preposition on Sources page _for_ <Organization> 2017-11-13 21:51:58 -08:00
Alex P a47aff3fba Hide horizontal scrolling on user nav org list 2017-11-13 21:43:22 -08:00
Alex P 2a22d8c112 Use default cursor on user's name hover 2017-11-13 21:43:10 -08:00
Alex P f5d4770dae Scroll organizations list in user nav when there are too many to display 2017-11-13 21:26:29 -08:00
Michael Desa 7117835c52 Fix wording suggested in PR 2017-11-13 20:49:07 -08:00
Michael Desa 4e51963399 Add option to specify users are create as super admin 2017-11-13 20:44:50 -08:00
Michael Desa 0ba2b40abe Set default role to viewer on source if not specified 2017-11-13 20:41:54 -08:00
Michael Desa 3af66d98ab Migrate all orphaned resources to DefaultOrg
When users upgrade, all of their bolt resources will not belong to any
organization. This PR introduces a migration path where any orphaned,
resources without an organization, will become owned by the default
organization.
2017-11-13 20:41:54 -08:00
Alex P c7df7ebaf5 Fix appearance of tiny crown 2017-11-13 20:37:55 -08:00
Jared Scheib 865715516b Merge pull request #2354 from influxdata/multitenancy_whitelist_only
Add Public toggle to deny authz to users not explicitly added to an Organization
2017-11-13 20:25:23 -08:00
Michael Desa 1a235d881b Use default organization default role in me
Forbid users from application if they have no roles and were not
explicitly added in private organization
2017-11-13 19:28:15 -08:00
Luke Morris 338916a340 Address PR feedback. 2017-11-13 18:08:50 -08:00
Luke Morris 0424f9f92e Make Public values explicit 2017-11-13 12:15:53 -08:00
Andrew Watkins b1858d6792 Add source role dropdown to SourceForm while using auth
The only guard we need here is isUsingAuth.  Anyone who is not
a viewer will not be able to see this page.  Routing to this page
with insufficient permissions will be handled in a different PR.
2017-11-13 12:02:38 -08:00
Luke Morris 29815774f0 If not set, Public should be true by default 2017-11-13 11:58:07 -08:00
Luke Morris 37d351f63b Sew up failing tests 2017-11-13 11:47:34 -08:00
Luke Morris 1aebbf2bd4 Clear test noise 2017-11-10 18:45:25 -08:00
Jared Scheib ed3200c718 Refresh app upon switch organization 2017-11-10 18:37:18 -08:00
Jared Scheib 4fee0490ec Wire up login & refresh app upon click login to organization 2017-11-10 18:36:56 -08:00
Luke Morris 9eccded4b2 Reuse chronograf.Organization type 2017-11-10 18:31:30 -08:00