-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to move pending invited users between teams #1838
Comments
Backend estimation: Zach and Tomas will follow up on decision for merging user and invite entities. |
Tomas: We should move forward with adding this ability to invites in isolation from users (no merge). |
Frontend estimation includes refactoring. |
Zach: Modify user users the old style API routes. Let's take this opportunity to migrate users to the new style. |
BE PR: #2837 |
Backend has been merged. |
@noahtalerman this is another one that can't be done in a |
It works! Here's a loom showing it works. |
thank you! |
Goal
As a Fleet user, I want the ability to move pending invited users between teams so that I don't have to wait for the user to log in to Fleet before I can edit their level of access.
Figma
⚙️ Settings - Users: https://www.figma.com/file/qpdty1e2n22uZntKUZKEJl/%E2%9C%85-Fleet-EE-(current%2C-dev-ready)?node-id=3279%3A73070
API wireframes
New
PATCH /api/v1/fleet/invites/{id}
API route that supports the updating of invites. The available parameters should be the same as those that are available in thePATCH /api/v1/fleet/users/{id}
:PATCH /api/v1/fleet/invites/{id}
Parameters:
admin
,maintainer
, andobserver
). Ifglobal_role
is specified,teams
cannot be specified.id
and the user'srole
on each team. In Fleet 4.0.0, 3 user roles were introduced (admin
,maintainer
, andobserver
). Ifteams
is specified,global_role
cannot be specified.Example request:
Example response:
How?
Frontend
PATCH /api/v1/fleet/invites/{id}
API route.Backend
PATCH /api/v1/fleet/invites/{id}
API route.The text was updated successfully, but these errors were encountered: