Registered users can generate an invite link for their chat room and people with the link can directly access the room as a guest user without having to register.
What needs to be implemented:
Chat Room Model needs additional properties:
Owner user_id (Eloquent has one)
Boolean value to allow guest users
New room form needs to be changed
Pivot model with guest property:
Used to indicate guest users in the room, eg. for removing all the guest users
Default is false
New route to direct the shared link:
Opens a guest registration view
Input: Name
User fortify register route to register with random email and password filled
Registered users can generate an invite link for their chat room and people with the link can directly access the room as a guest user without having to register. What needs to be implemented: