Jared Scheib
7eed603bf7
Change ErrOrganizationNameTaken to ErrOrganizationAlreadyExists for consistency
2017-11-30 20:12:00 -08:00
Jared Scheib
3aded9cca7
Fix client UX when creating a Chronograf user that already exists
2017-11-30 14:21:27 -08:00
Michael Desa
afe97e0cec
Prevent unintended update of existing user on Add
...
Previously, the organizations store did not check to see if the user
that a user was being "added" had a role in the organization, it simply
filtered out a users roles that did not belong to that organization and
blindly appended the new ones that were supplied.
This resulted in users being able to change another users role during
new Add request for the same user.
2017-11-29 17:58:42 -05:00
Jared Scheib
fc270197de
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
Jared Scheib
b4216f1397
Allow Default org to be renamed in UI; remove Default component
2017-11-21 17:57:16 -06:00
Alex Paxton
555bdc3086
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
c1856f8323
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
8674a98ab8
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
f8e285d32b
Add invisible hover triangle for user menu on small screens
2017-11-20 19:59:02 -08:00
Jared Scheib
3d494bf50c
Update ME request action names, action creators, & reducers to AJAX cycle convention
2017-11-20 21:23:24 -06:00
Jared Scheib
9c8cac04a9
Refactor getMe & refresh me for SideNav upon change organizations
2017-11-20 21:23:23 -06:00
Jared Scheib
e1e81bee5e
Prevent sources error notification from invalid showDatabases in CheckSources upon meChangeOrganization
2017-11-20 19:07:52 -06:00
Jared Scheib
f32ba73dc6
Refactor CheckSources to call getSources thunk instead of loadSources & errorThrown
2017-11-20 19:06:31 -06:00
Jared Scheib
cd1f8c1036
Merge branch 'multitenancy-merge-master' into multitenancy
2017-11-16 17:06:26 -08:00
Jared Scheib
4520124b16
Merge branch 'multitenancy' into multitenancy-merge-master
2017-11-16 17:03:30 -08:00
Alex Paxton
0159ee1ca0
Merge pull request #2352 from influxdata/multitenancy_purgatory_switching
...
Switch Organizations from Purgatory
2017-11-16 13:16:21 -08:00
Jared Scheib
9b89e42777
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
52b0983f74
Refactor Purgatory to be a stateless functional component
2017-11-14 15:17:53 -08:00
Alex P
674155634e
Refactor common elements from Login and Purgatory into shared wrapper
2017-11-14 13:25:35 -08:00
Alex P
57d4a361e5
Refactor purgatory list items into own component
2017-11-14 12:15:25 -08:00
Andrew Watkins
483f0cc42d
Merge pull request #2358 from influxdata/feature/source-form-role
...
Source form role selection
2017-11-14 06:12:08 -08:00
Jared Scheib
f38b80a30d
Merge branch 'master' into multitenancy
2017-11-14 00:05:18 -08:00
Michael Desa
591d80acb6
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
489127cecb
Add organizations to newDashboardResponse tests
2017-11-13 23:37:50 -08:00
Jared Scheib
05c76d3c52
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
65bc529831
Fix tests broken in 96a362cb
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-13 23:10:26 -08:00
Alex Paxton
13dbeacc11
Merge pull request #2348 from influxdata/multitenancy_user_nav_polish
...
Multitenancy User Nav Polish
2017-11-13 22:50:56 -08:00
Jared Scheib
1577491ec9
Update copy & add tooltip for required Role
2017-11-13 22:50:10 -08:00
Alex P
2b51086a2d
Render more space efficient user nav when viewport is insufficient
2017-11-13 22:25:15 -08:00
Jared Scheib
90e828dee1
Add emphasis & fix preposition on Sources page _for_ <Organization>
2017-11-13 21:51:58 -08:00
Alex P
af190dd8cd
Hide horizontal scrolling on user nav org list
2017-11-13 21:43:22 -08:00
Alex P
a9980cc57c
Use default cursor on user's name hover
2017-11-13 21:43:10 -08:00
Alex P
8b6891fb8d
Scroll organizations list in user nav when there are too many to display
2017-11-13 21:26:29 -08:00
Michael Desa
fdc6dc4aa3
Fix wording suggested in PR
2017-11-13 20:49:07 -08:00
Michael Desa
011b0bfb73
Add option to specify users are create as super admin
2017-11-13 20:44:50 -08:00
Michael Desa
cde3dcaac1
Set default role to viewer on source if not specified
2017-11-13 20:41:54 -08:00
Michael Desa
e4d99c34b4
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
956f6ea4d4
Fix appearance of tiny crown
2017-11-13 20:37:55 -08:00
Jared Scheib
96a362cb06
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
5b64cb4dc3
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
b3d0d6eeee
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
b543e64ef1
Make Public values explicit
2017-11-13 12:15:53 -08:00
Andrew Watkins
68fb972be6
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
b38730afd5
If not set, Public should be true by default
2017-11-13 11:58:07 -08:00
Luke Morris
b731481fdc
Sew up failing tests
2017-11-13 11:47:34 -08:00
Luke Morris
65ae474a5c
Clear test noise
2017-11-10 18:45:25 -08:00
Jared Scheib
46d6c819ea
Refresh app upon switch organization
2017-11-10 18:37:18 -08:00
Jared Scheib
524ca41621
Wire up login & refresh app upon click login to organization
2017-11-10 18:36:56 -08:00
Luke Morris
43338cbdcb
Reuse chronograf.Organization type
2017-11-10 18:31:30 -08:00
Luke Morris
31277c432c
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00