Skip to content

Unable to Invite a User Multiple Times to Different Organizations #912

@JeanEdern

Description

@JeanEdern

Hello!
I'm facing an issue with using devise_invitable in a multi-tenant application where users can belong to multiple organizations (through memberships). Specifically, I want to invite a user multiple times to different organizations. However, since devise_invitable stores all invitation information directly in the User model, a user can only be invited once, preventing them from receiving multiple invitations.

Would it be possible to enhance devise_invitable to support multiple invitations for a single user, perhaps by decoupling invitation data from the User model? Any guidance or suggestions on how to handle this within the current framework would also be appreciated.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions