Commit Graph

6077 Commits (a245dd7c38c101b06fc29f7829aff63dbca5f278)

Author SHA1 Message Date
Michael Desa 271aebb40f Prevent duplicate organization roles in user CRUD 2017-11-03 12:06:18 -04:00
Jared Scheib 62de6310ca Set me role in redux based on current organization 2017-11-03 08:17:04 -07:00
Jared Scheib f2060d6c28 Wire up change current organization 2017-11-03 07:53:07 -07:00
Jared Scheib 335bb17005 Populate UserNavBlock with real user orgs & roles data 2017-11-03 07:08:04 -07:00
Michael Desa 81e0bf06dc Fix me tests with proper IDs 2017-11-03 09:47:54 -04:00
Jared Scheib c8589849e9 Pass full links response into SideNav & down to UserNavBlock 2017-11-03 06:46:59 -07:00
Michael Desa e114f20328 Fix links in me request 2017-11-03 09:39:21 -04:00
Michael Desa 6539e5ebeb Properly pass organization context to handlers 2017-11-03 09:13:03 -04:00
Jared Scheib 59ca4e2c9e Fix regression of custom links no longer opening in diff browser tab 2017-11-03 05:28:33 -07:00
Jared Scheib 4f235a3141 Remove org change dropdown from OrgTable view - only show org name
This clarifies the UX from within an Organization view. It was
confusing to be able to change a user's organization to another
while in a specific one's view.

This also passes organization obj down to OrgTable.
2017-11-03 05:23:25 -07:00
Jared Scheib 66c42aca9e Wire up update superadmin status 2017-11-03 04:59:26 -07:00
Jared Scheib 7d7fcde6ba Wire up update user role 2017-11-03 04:30:06 -07:00
Jared Scheib 08fa16e1af Show current organization in CreateUserOverlay 2017-11-03 04:13:16 -07:00
Jared Scheib db753563a2 Make order of create user options consistent with table
Only show Role selector if Organization is selected.
2017-11-03 04:13:16 -07:00
Jared Scheib 4d2a7132d8 Fix disable Create user button if required fields empty 2017-11-03 04:13:16 -07:00
Jared Scheib 60da04e217 Ensure in client that created user roles include member of default org 2017-11-03 04:13:06 -07:00
Jared Scheib 015d982e0c Fix superAdmin bool display; refactor & clean up copy 2017-11-03 03:34:11 -07:00
Jared Scheib 032e036876 Wire up individual add user to org dropdown in Chronograf users table 2017-11-03 03:25:19 -07:00
Jared Scheib 77ebd593c3 Simplify & fix user org add & remove, and provide server errors 2017-11-03 02:47:02 -07:00
Jared Scheib 192fb9b877 Clarify 'Add to organization' copy on dropdown when no roles 2017-11-03 02:40:07 -07:00
Jared Scheib 30aa9883df Derive num users selected from array length 2017-11-03 02:09:21 -07:00
Jared Scheib a70fc766f2 Wire up remove user from organization 2017-11-03 02:08:19 -07:00
Jared Scheib e4dae04859 Publish notification upon successful Update of Chronograf user 2017-11-03 02:07:25 -07:00
Jared Scheib 43f8f1d590 Fix org link & filtering by passing whole org object around
Does not fix the double-click bug introduced in c8f1cf1, which
is probably due to an unloaded curry on first click.
2017-11-03 01:19:42 -07:00
Jared Scheib 0115c9dc7a Wire up updateUser in Chronograf admin via batch action bar
Change function names to more clearly expression that organizations
are being added and removed from users.
2017-11-03 00:24:47 -07:00
Jared Scheib fcbaa1cbe1 Add action creator, thunk, reducer, & api for updating Chronograf uesr 2017-11-02 23:58:43 -07:00
Jared Scheib 040ddf4d9d Wire up rename organization 2017-11-02 23:26:33 -07:00
Jared Scheib 19cdea74e7 Hide SuperAdmin table row cells if user is not superadmin 2017-11-02 23:26:33 -07:00
Jared Scheib f21da96bce Clean up console & comment orgs lacking id on optimistic update 2017-11-02 23:26:33 -07:00
Jared Scheib d2e9f588a5 Reorder & comment action groups in Chronograf admin page file
Also create a delete method for a single user and have batch
delegate to that.
2017-11-02 23:26:29 -07:00
Jared Scheib a19d000d2a Disable trash icon if default org to prevent delete 2017-11-02 21:01:58 -07:00
Jared Scheib cc3946ed16 Wire up delete organization 2017-11-02 20:56:39 -07:00
Jared Scheib 2f8e756155 Wire up create organization
Adds action creators & reducers for add, sync, & remove.
2017-11-02 20:44:37 -07:00
Jared Scheib 2152254a80 Wire up delete user for a single user via batch actions bar 2017-11-02 20:28:08 -07:00
Jared Scheib 6d3b0841c5 Fix CHRONOGRAF_REMOVE_USER to match via equal fields, not links
Refactor isSameUser into helper func for use across files
2017-11-02 20:02:50 -07:00
Jared Scheib bd3f87611d Rename deleteUser to removeUser since local state change in redux 2017-11-02 20:00:51 -07:00
Jared Scheib 5f0f353a85 Simplify bind all action creators in Chronograf admin 2017-11-02 19:42:29 -07:00
Jared Scheib 78e8ef4988 Wire up create user in Chronograf admin 2017-11-02 19:08:21 -07:00
Michael Desa 6f72d72fca Fix over-stringification of organization on roles 2017-11-02 21:52:30 -04:00
Jared Scheib 1d05ccbe75 Get organizations from server to populate Chronograf Admin dropdown
Get & use chronograf/v1/organizations from server links
2017-11-02 17:47:14 -07:00
Jared Scheib a6d65b0311 Get & use chronograf/v1/users from server links 2017-11-02 16:48:27 -07:00
Jared Scheib fe6e0682ca Add SuperAdmin to userResponse 2017-11-02 16:24:16 -07:00
Jared Scheib 237efc50f7 Update shape of currentOrganization to org object 2017-11-02 16:22:25 -07:00
Alex P bb13b4f664 Add functional UI skeleton for Create User for admin & superadmin
Plan is to replace with "New Row" pattern soon
2017-11-02 16:05:06 -07:00
Chris Goller e5a4a007f3 Update CHANGELOG to mention fixing template variable in dashboard query building 2017-11-02 18:01:35 -05:00
Chris Goller 663d418161 Fix rendering of templated queries to the /queries endpoint 2017-11-02 17:57:02 -05:00
Alex P 5fa7260ebd Implement overlay UI to handle CRUD operations for Organizations 2017-11-02 14:57:03 -07:00
Andrew Watkins 6908fd683a Make legend items unique 2017-11-02 13:38:08 -07:00
Andrew Watkins 1e8f14836a Remove 'No Results' as empty state for Dygraphs
Returning No Results when no series returned cause a bunch of issues.
Firstly, if the user zoomed in to a time that returned no data the graph
would disappear and they would no longer be able to double-click the
graph to zoom back out.  Secondly, if ONE series returned no results the
entire graph would disappear.
2017-11-02 13:36:15 -07:00
Michael Desa 14beabb6fd
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