Michael Desa
f2591c9eb1
Change HTTP Status 401 to 403 in AuthorizedUser
...
This signals to the front end that a user must go through another ouath
flow.
2017-11-21 18:55:26 -05:00
Michael Desa
cf82990623
Return HTTP Status 403 if org not found in /me
...
Fix returning non-standard status from AuthorizedUser
2017-11-21 18:53:42 -05: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
Luke Morris
4b9a2d5eb0
Merge branch 'multitenancy' into multitenancy_whitelist_only
2017-11-10 17:52:06 -08:00
lukevmorris
e1aca94eac
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
eed18c4fdd
Wire up logout link in Purgatory
2017-11-10 17:20:43 -08:00
Luke Morris
5ff6bfb32e
Persist whitelistOnly changes to default organization
2017-11-10 16:43:11 -08:00
Andrew Watkins
2e4c02be07
Merge pull request #2346 from influxdata/bugfix/super-admin-toggle
...
Bugfix/super admin toggle
2017-11-10 16:16:24 -08:00
Alex P
e90cc5be9c
Add skeleton for org switching from Purgatory page
2017-11-10 16:08:49 -08:00
Michael Desa
d854d6f8a4
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
42ae3264f9
Merge remote-tracking branch 'origin/multitenancy' into bugfix/super-admin-toggle
2017-11-10 16:00:42 -08:00
lukevmorris
c958fc1a57
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
9c2d2b5815
Scope auth logic beneath isUsingAuth
2017-11-10 14:30:44 -08:00
Alex Paxton
e3e5ce484e
Merge pull request #2339 from influxdata/multitenancy_table_polish
...
Multitenancy Table Polish
2017-11-10 14:22:35 -08:00