uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
548 stars 147 forks source link

feat: add inviteUser boolean to addUserToGroup #3756

Closed shreddedbacon closed 2 days ago

shreddedbacon commented 1 week ago

General Checklist

Database Migrations

Just a simple one to make adding users to groups a little bit nicer if the user doesn't exist. Adds an inviteUser boolean to addUserToGroup input that will create the user account if one doesn't exist.

The UI could then expose a checkbox when adding a user to a group that asks if they want to invite the user if the user doesn't exist.

If inviteUser is set and the account does not already exist, it will be created, and a password reset email will be sent.