Commit Graph

6085 Commits (ca7ef7d0a28240bfe235a4b4283d861276da87c3)

Author SHA1 Message Date
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
Luke Morris 6d2c7e18d1 Rename whitelistOnly => public 2017-11-10 18:23:41 -08:00
Luke Morris 5a2befccff Merge branch 'multitenancy' into multitenancy_whitelist_only 2017-11-10 17:52:06 -08:00
lukevmorris b6616fc177 Merge pull request #2349 from influxdata/multitenancy_allow-entry-without-auth
Scope auth logic beneath isUsingAuth
2017-11-10 17:45:56 -08:00
Jared Scheib 42138e37bf Wire up logout link in Purgatory 2017-11-10 17:20:43 -08:00
Luke Morris 5fbf1e140a Persist whitelistOnly changes to default organization 2017-11-10 16:43:11 -08:00
Andrew Watkins 6cb6fb58bd Merge pull request #2346 from influxdata/bugfix/super-admin-toggle
Bugfix/super admin toggle
2017-11-10 16:16:24 -08:00
Alex P 33fa98761f Add skeleton for org switching from Purgatory page 2017-11-10 16:08:49 -08:00
Michael Desa 6bc9ac285b Fix Update method in organization.UsersStore
Previously, when users were updated, we did not use the fields on the
user that was being persisted. As a result, the API responded with the
attribute being set, but the updated values were not actually stored in
bolt. This was not noticed previously because SuperAdmins had raw access
to the UsersStore
2017-11-10 19:06:38 -05:00
Jared Scheib ff4ac4e406 Merge remote-tracking branch 'origin/multitenancy' into bugfix/super-admin-toggle 2017-11-10 16:00:42 -08:00
lukevmorris 4ab95c6146 Merge pull request #2340 from influxdata/multitenancy_fix_org_issues
Fix organizations UpdateHandler and OrganizationsStore Update method
2017-11-10 15:49:37 -08:00
Luke Morris b401983cbe Scope auth logic beneath isUsingAuth 2017-11-10 14:30:44 -08:00
Alex Paxton c55d85003d Merge pull request #2339 from influxdata/multitenancy_table_polish
Multitenancy Table Polish
2017-11-10 14:22:35 -08:00
Alex P b4a82224e1 Add whitelist column to organizations table
Slide toggle appears for default org, the rest see null state
2017-11-10 14:17:37 -08:00
Luke Morris af75278068 Role can be updated for Default Organization 2017-11-10 14:03:31 -08:00
Luke Morris 3ca2dc1c39 Persist default role on organization creation 2017-11-10 13:54:33 -08:00
Alex P 0479d570c9 Make table header styles consistent 2017-11-10 13:42:56 -08:00
Alex P 8a2e8fc3de Render an indicator in the user nav item for super admins 2017-11-10 13:26:16 -08:00
Michael Desa 638e36c197 Change MeOrganization to UpdateMe 2017-11-10 16:17:46 -05:00
Michael Desa 6493902265 Check WhitelistOnly setting on default org in Me
Set DefaultOrganizationWhitelistOnly to false

Set DefaultOrganizationRole on new user in Me
2017-11-10 16:15:29 -05:00
Andrew Watkins a27d500432 Fix superAdmin not toggling
The handleUpdateUserSuperAdmin funciton appeared like it was
handling old data shapes.  It was also included an extra and uneccessary
anonymous function.  I also cleaned up a couple of other functions that
had unneeded anonymous funcitons.
2017-11-10 13:11:52 -08:00
Luke Morris 9daee3d802 Persist new defaultRole to server 2017-11-10 13:01:28 -08:00
Andrew Watkins 0cc8b24ee6 Fix superAdmin field not being passed to server 2017-11-10 13:00:58 -08:00
Michael Desa b110a28278 Add WhitelistOnly to organizations
Fix adding default role to organization
2017-11-10 15:57:48 -05:00
Michael Desa e2ac7f8bf0 Use raw organizations store is user is super admin 2017-11-10 15:33:28 -05:00
Michael Desa cc6f703f5d Fix updating default role on organization 2017-11-10 14:55:21 -05:00
Jared Scheib 94668c93e2 Italicize organization name in Chronograf Admin UsersTable 2017-11-10 11:55:01 -08:00
Jared Scheib 4de3e1e536 Make style of OrganizationsTableRowNew ConfirmButtons match OrganizationsTableRow confirmLeft 2017-11-10 11:52:38 -08:00
Jared Scheib 20299a6e90 Adjust Users table DeleteConfirmButtons column width to avoid jitter 2017-11-10 11:49:04 -08:00
Alex P 270b33e4cd Create section labelled "Account" 2017-11-10 11:31:02 -08:00
Alex P c1803a84be Revert to rendering the user's name instead of current org/role
Now that there are less items in the menu, it is more obvious which org
you are currently in. Had a design like this previously, but changed it
when more items were added to the menu and more emphasis was needed.
That is no longer the case
2017-11-10 11:30:46 -08:00
Alex P 24745b361e Remove obsolete PageHeader component
Reverting page title to “Chronograf Admin”. No need to have this as a
component
2017-11-10 11:09:07 -08:00
Alex P 7c40f938c0 Increase width of actions column in users table 2017-11-10 11:06:30 -08:00
Alex P 394307e2a0 Consolidate redundant actions column in users table 2017-11-10 11:06:18 -08:00
Alex P f9828473ac Render current organization in users table header
Unclear which org the users are from otherwise
2017-11-10 11:05:27 -08:00
Alex P 037c777212 Make chronograf admin page the same width as influxdb admin page 2017-11-10 10:57:21 -08:00
Alex Paxton 2a3183188e Merge pull request #2288 from influxdata/multitenancy_ui_current_org_copy
Multitenancy UI Helpful Copy
2017-11-10 10:42:45 -08:00
Michael Desa 7362401936 Merge pull request #2294 from influxdata/multitenancy_expose_some_org_routes
Expose some organization routes to admins
2017-11-10 12:55:18 -05:00
Michael Desa f228e2860d Expose some organization routes to admins
Cleanup tests appropriately

Prevent Admins from patching organizations
2017-11-10 12:48:10 -05:00
Michael Desa 5ee565a4a8 Merge pull request #2317 from influxdata/multitenancy_ensure_unique_user
Ensure users name, provider, and scheme are unique
2017-11-10 12:38:12 -05:00
Michael Desa 9920f5e90e Ensure users name, provider, and scheme are unique 2017-11-10 12:29:17 -05:00
Michael Desa 7ef6078c98 Merge pull request #2304 from influxdata/multitenancy_expose_source_for_superadmin
Fix ValidSourceRequest to modify pointer when needed
2017-11-10 12:28:07 -05:00
Michael Desa 81017173d7 Fix ValidSourceRequestComment 2017-11-10 12:20:58 -05:00
Michael Desa 04b9294c4d Fix ValidSourceRequest to modify pointer when needed
Add tests for Store.SourcesAll
2017-11-10 12:15:04 -05:00