Michael Desa
1012c92a59
Merge pull request #2242 from influxdata/multitenancy_single_role_per_org
...
Prevent duplicate organization roles in user CRUD
2017-11-06 09:44:31 -05:00
Michael Desa
167c0c06a8
Prevent duplicate organization roles in user CRUD
2017-11-03 12:06:18 -04:00
Michael Desa
aabefe3ac1
Fix me tests with proper IDs
2017-11-03 09:47:54 -04:00
Michael Desa
4baa65629a
Fix links in me request
2017-11-03 09:39:21 -04:00
Michael Desa
450a965019
Properly pass organization context to handlers
2017-11-03 09:13:03 -04:00
Michael Desa
b67b2e8d6e
Fix over-stringification of organization on roles
2017-11-02 21:52:30 -04:00
Jared Scheib
500843a867
Add SuperAdmin to userResponse
2017-11-02 16:24:16 -07:00
Michael Desa
f95a2963db
Merge pull request #2215 from influxdata/multitenancy_add_orgs_to_me
...
Add CurrentOrganization & Organizations to me resp
2017-11-02 15:38:49 -04:00
Michael Desa
d0271fecce
Merge pull request #2216 from influxdata/multitenancy_unique_org_names
...
Ensure unique organization names.
2017-11-02 13:41:36 -04:00
Michael Desa
bf22d1d57d
Ensure uniqueness of organization names in bolt
2017-11-02 13:04:41 -04:00
Michael Desa
311c68f457
Add CurrentOrganization & Organizations to me resp
...
Remove CurrentOrganization from chronograf.User
2017-11-02 11:59:53 -04:00
Michael Desa
92466975a2
Merge pull request #2142 from influxdata/multitenancy_orgs
...
Implement Organizations
2017-11-02 10:32:26 -04:00
Michael Desa
b61fad00b0
Add dependent destroy of resources for organization
2017-11-01 17:12:31 -04:00
Michael Desa
986f86d99c
Fix relevant go-vet/go-lint for server package
2017-11-01 16:43:31 -04:00
Michael Desa
aa2087ec43
Add exhaustive test for AuthorizedUser
2017-11-01 16:38:17 -04:00
Michael Desa
94179f8f34
Add comment of how to generate JWT tokens
2017-11-01 16:05:56 -04:00
Michael Desa
65028027fd
Add comments to DataStore interface and implemntn
2017-11-01 14:24:40 -04:00
Michael Desa
eb845b1630
Fix routes tests
2017-11-01 14:09:58 -04:00
Jared Scheib
63e88e4853
Change version on UsersBucket to V2 for clean upgrade path
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-01 10:57:49 -07:00
Jared Scheib
2e0911dbd9
Add organizations and users routes to allRoutes
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-11-01 12:59:07 -04:00
Michael Desa
40feb4ae94
Change nil check to len == 0 check for userRequest
2017-11-01 12:38:26 -04:00
Michael Desa
46987558e0
Remove unused code
2017-11-01 12:35:09 -04:00
Michael Desa
569978b4f7
Add parseOrganizationID method
2017-11-01 12:34:00 -04:00
Michael Desa
e7a94c18d6
Add comments throughout codebase
2017-11-01 12:30:42 -04:00
Michael Desa
a3be77a4ba
Fix Migrate Organizations to not overwrite name
2017-11-01 10:55:32 -04:00
Michael Desa
a8a115ec50
Change function signature of hasSuperAdminContext
2017-11-01 10:39:09 -04:00
Michael Desa
4c0469cb07
Change OrganizationID to Organization in Me req
2017-11-01 10:37:32 -04:00
Michael Desa
0e18f8778b
User explicit type when setting context
2017-11-01 09:49:02 -04:00
Michael Desa
3bfed5756d
Remove setting default org on Principal
2017-11-01 09:21:35 -04:00
Michael Desa
37dc13d2c5
Fix organizations for default organization
2017-11-01 09:17:34 -04:00
Michael Desa
3ad2305c33
Add superAdmin to users CRUD
2017-11-01 09:12:19 -04:00
Alex Paxton
17561bd1d6
Merge pull request #2174 from influxdata/multitenancy_ui_role_authorization
...
Implement Role-based authorization UI for Viewer and Editor roles
2017-10-31 20:03:01 -07:00
Michael Desa
708c37dc67
WIP cleanup
2017-10-31 20:58:40 -04:00
Michael Desa
e7e17537a1
WIP make app usable by frontend
2017-10-31 19:50:03 -04:00
Michael Desa
f863bf2042
Add support for super admin
2017-10-31 18:27:24 -04:00
Michael Desa
2bd2c81bb7
Add noop implementation of each source type
2017-10-31 18:07:42 -04:00
Michael Desa
cf64b2e506
Remove RawUsers from DataStore
2017-10-31 17:49:35 -04:00
Michael Desa
00b79a45eb
Add org param to New Organizaiton methods
2017-10-31 17:40:58 -04:00
Michael Desa
36e14cb111
Refactor data stores into a common interface
2017-10-31 16:41:17 -04:00
Michael Desa
7ae4481178
Refactor organizations tests to use mocks
2017-10-30 17:03:53 -04:00
Michael Desa
bea2caaa7f
Move organization resouces to their own package
2017-10-30 14:31:19 -04:00
Michael Desa
d6a0ab3488
Change OrganizationID to Organization in Roles
...
Fix formatting of proto file
2017-10-30 12:28:57 -04:00
Michael Desa
1082b264fe
Use organization stores
2017-10-30 12:05:59 -04:00
Michael Desa
838d326022
Fix typo and organization dashboards test
2017-10-30 11:08:39 -04:00
Michael Desa
8fbe2ccd44
Fix incorrectly named file
2017-10-30 11:06:37 -04:00
Michael Desa
d000a3e238
Add OrganizationLayoutsStore
2017-10-30 11:05:20 -04:00
Michael Desa
8b3f1abaac
Add OrganizationServersStore
2017-10-30 10:57:41 -04:00
Michael Desa
ef40315104
Add OrganizationsSourcesStore
2017-10-30 10:49:54 -04:00
Michael Desa
8288f97dd6
Add DashboardOrganization tests
2017-10-30 10:34:18 -04:00
Luke Morris
6e405e1651
Refactor SideNav & NavBlock to remove unnecessary cloneElement
...
Remove additionalProps & some cloneElement need from Authorized.
Incidentally fix dispatch error from throwing.
Clean up.
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-27 17:37:17 -07:00