We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
We want to add an InvitedUser with the following attributes:
InvitedUser
email
role
name
And the following relationships:
invitee
user
inviter
project
We’ll need create, update, index and show endpoints.
If inviting to a project, the policy should check permissions similar to how ProjectUser works.
ProjectUser
When the invite flow is complete, ie to claim an invite, we’ll need to:
invited_user
invitee_id
project_user
It may make sense to do this on the user create endpoint by specifying the InvitedUser id as a relationship.
id