Skip to content
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

Allow team admins to invite new users to their team via email #24718

Open
iansltx opened this issue Dec 12, 2024 · 1 comment
Open

Allow team admins to invite new users to their team via email #24718

iansltx opened this issue Dec 12, 2024 · 1 comment

Comments

@iansltx
Copy link
Member

iansltx commented Dec 12, 2024

  • @noahtalerman: User requested this because they noticed that the "Invite user" option was missing when a team admin goes to create a user. This means the team admin has to create a user and then manually notify that user. Instead, if they had the invite option, Fleet would automatically send an email for the.
    • @noahtalerman: In the interim the team admin can create a user without an invite.
    • @noahtalerman: Eventually the "Invite user" option could be available for team admins.
  • @allenhouchins: For tech evals we use the same Fleet instance and create a team for each propsect. We give propsects the team admin role. It would be nice to be able to showcase and let the prospect touch all the features.

@iansltx iansltx added #g-endpoint-ops Endpoint ops product group :product Product Design department (shows up on 🦢 Drafting board) ~backend Backend-related issue. ~frontend Frontend-related issue. labels Dec 12, 2024
@noahtalerman
Copy link
Member

Problem

Currently team admins cannot use the existing email invite system to set users up (global admins can).

Unlike #24660, this is not an API/UI consistency issue; team admins are disallowed from creating invites in the API.

What have you tried?

Currently team admins wishing to add users have to create the users and then either tell the user to reset their password out-of-band or hand them the newly created password out-of-band.

Potential solutions

Allow team admins to create user invites as long as the user is conferred access to only the team the admin admins. We'll likely need invite editing for team admins for this, with similar scope restrictions (and only being able to touch invites for users matching teams they're an admin of).

What is the expected workflow as a result of your proposal?

As a team admin, when clicking "Create user" in the team UI, I should have the option to invite the user (subject to email being configured), same as a global admin. I should also be able to revoke an invite for a user when that invite would confer roles on the team(s) I'm admin'ing.

@noahtalerman noahtalerman added ~feature fest Will be reviewed at next Feature Fest and removed ~frontend Frontend-related issue. ~backend Backend-related issue. :product Product Design department (shows up on 🦢 Drafting board) #g-endpoint-ops Endpoint ops product group labels Dec 16, 2024
@noahtalerman noahtalerman removed the ~feature fest Will be reviewed at next Feature Fest label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants