Commit Graph

5964 Commits (1aebbf2bd4220031233a454d6a871c4f118a815b)

Author SHA1 Message Date
Alex P 145b1e267a Require user authentication to route to Purgatory 2017-11-07 22:41:29 -08:00
Alex P 0716e5e53c Wire up Purgatory page 2017-11-07 22:40:59 -08:00
Alex P 2cdb22043a Redirect lost souls to purgatory not limbo 2017-11-07 22:33:18 -08:00
Jared Scheib d5667b2dca Only show Manage Organizations to SuperAdmin 2017-11-07 22:29:33 -08:00
Jared Scheib c4cff698fb Add /users & /organizations to router with sourcePrefix 2017-11-07 22:19:20 -08:00
Jared Scheib b52b37a20a Show user role in side nav 2017-11-07 22:09:55 -08:00
Alex P c5bc75bacb Remove ManageOrgsOverlay component 2017-11-07 20:48:42 -08:00
Alex P 52cad8dc19 Cleanup console errors 2017-11-07 20:43:18 -08:00
Alex Paxton 85ede680d8 Merge pull request #2298 from influxdata/multitenancy_ui_manage_orgs
Dedicated Organizations Page
2017-11-07 20:37:45 -08:00
Alex P a2101f853a Remove TODO comment 2017-11-07 20:28:28 -08:00
Alex P c492d0084c Remove OrganizationsPage from router 2017-11-07 20:28:02 -08:00
Alex P 7f3871681b Remove organization from state and cleanup 2017-11-07 20:15:26 -08:00
Alex P 8265959551 Remove obssolete UsersTable components 2017-11-07 19:44:05 -08:00
Alex P 5e5e67c03c Remove Batch Add & Remove users from organization functions 2017-11-07 19:40:48 -08:00
Alex P 0ba7e3e239 Remove ability to view all users 2017-11-07 19:39:05 -08:00
Alex P 6ec49fd962 Simplify UsersTableHeader
Removing filtering and associated functionality
2017-11-07 17:54:14 -08:00
Alex P 7fcc2d6acf Move batch actions and users table header inside users table 2017-11-07 17:52:22 -08:00
Alex P 8c87b72654 Render current organization name instead of "Chronograf Admin" 2017-11-07 17:41:19 -08:00
Alex Paxton a8df9e2d3f Merge pull request #2283 from influxdata/multitenancy_ui_superadmin_polish
Multitenancy UI SuperAdmin Polish
2017-11-07 17:34:20 -08:00
Alex P 6aea030251 User more clear names for props and state 2017-11-07 17:22:36 -08:00
Alex P 3bdf0b3434 Use a more clear variable name 2017-11-07 17:18:06 -08:00
Alex P 209b59be42 Use semantic opposite to increase clarity 2017-11-07 17:17:12 -08:00
Alex P f37b832b01 Use simpler names for state in NewUsersTableRow 2017-11-07 17:16:18 -08:00
Alex P a59844013b Explain purpose of component with comment 2017-11-07 17:07:44 -08:00
Alex P eacc971317 Use Link component in UserNavBlock instead of anchor 2017-11-07 16:31:00 -08:00
Jared Scheib 25bea7c39a Merge pull request #2249 from influxdata/multitenancy_scoped_sources
Sources are scoped by users role in organization
2017-11-07 12:05:12 -08:00
Michael de Sa f7ad499011 Add verification that user does not have more than one role in org
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-07 15:02:31 -05:00
Alex P 65f0b05892 Render Manage Organizations link based on Authorization 2017-11-07 12:01:31 -08:00
Alex P 97e839ba2d Link to organizations page from user nav item 2017-11-07 11:58:35 -08:00
Alex P decd182c8e Create route for organizations page 2017-11-07 11:58:20 -08:00
Michael de Sa e69045d468 Remove super admin from store/sources tests
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-07 14:57:37 -05:00
Jared Scheib bc13ca5ff4 Add clarifying comments about how roles, organization, and context are used to filter resources
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-11-07 14:56:55 -05:00
Alex P d5ed93c197 Introduce Organizations page
Same functionality as the Manage Organizations modal, just in its own
page
2017-11-07 11:54:44 -08:00
Alex P f6c27c970c Re-arrange items in me nav item 2017-11-07 11:37:32 -08:00
Alex P 6056e37dfa Move user nav item to top of side nav
Needs more vertical space than the other items
2017-11-07 11:36:56 -08:00
Michael Desa 4f7f9c2757 Change SuperAdminRoleName to SuperAdminStatus
SuperAdmin is not a role type, but it a status of a user that is
tangentially related to a users role in an organization. This renames
the variable to reflect that difference.
2017-11-07 13:59:51 -05:00
Michael Desa d40a374274 Add comments suggested from PR review
Add tests to server/stores_test.go
2017-11-07 13:59:40 -05:00
Alex P 6899fc413d Improve clarity of copy in manage sources page by including the current organization name 2017-11-07 01:20:52 -08:00
Alex P 3159969dbb Render current organization name in InfluxTable header 2017-11-07 01:01:56 -08:00
Alex P 87f186a61d Create skeleton for Purgatory page 2017-11-07 00:46:36 -08:00
Alex P e82fdf44b8 Make chronograf admin table dropdowns appear like plaintext until hover 2017-11-06 15:40:09 -08:00
Alex P a487bbe080 Increase vertical padding on new user row cells 2017-11-06 13:41:19 -08:00
Alex P 2e77f76cb4 Change micro copy to be more of a Call to Action and less long 2017-11-06 12:46:54 -08:00
Alex P 799048e5ae Refactor CreateUserOverlay into NewUserTableRow to be consistent with primary table item creation pattern 2017-11-06 12:39:32 -08:00
Jared Scheib c50422eb39 Modify mock store & json on superadmin-creates-SA user to reflect true SA status
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-11-06 11:17:27 -08:00
Alex P 3e8e878481 Move Create User button closer to Users Table 2017-11-06 09:17:51 -08:00
Michael Desa bd4d5c6cc3 Fix role related tests after rebase 2017-11-06 11:31:44 -05:00
Michael Desa 9b194168a6 Move user roles and role names to roles package 2017-11-06 11:27:13 -05:00
Michael Desa 4781cb3673 Allow update of sources.Role in server.UpdateSource 2017-11-06 11:25:51 -05:00
Michael Desa f3f183f685 Add role ctx where appropriate in AuthorizedUser 2017-11-06 11:25:46 -05:00