Decide who can invite whom
Specify which roles invite, what roles they can grant, existing-account rules, and cancellation rights.
Plan how a client portal invites a person: who can send an invitation, how the link behaves, what happens when it expires, and how access is removed.
Need this done for you?
Tell us about your projectThe short answer
How should a client portal invitation work?
A named role sends a single-use link that expires, the recipient sets up their own access, and the sender can resend or cancel. Decide each rule, and what the recipient sees when a link no longer works.
A fictional accounting practice inviting clients into a portal where they upload documents and read reports.
Staff members with the manager role send invitations, clients receive a viewer role, and a link lasts for a period the practice chooses.
Output: Four recorded states (pending, accepted, expired and canceled), a plain message for each failure, and a log entry for every send, acceptance and cancellation.
Specify which roles invite, what roles they can grant, existing-account rules, and cancellation rights.
Use single-use random tokens over HTTPS from a fixed trusted domain with clear expiry and resend rules.
Give plain messages and next steps for expired, used, wrong-account, and cancelled links.
Want your portal's access flow planned?
Tell us about your projectA permitted user invites a person with a chosen role.
The email arrives with one link and says who invited them.
The recipient sets up access and lands on a useful first screen.
Test the expired, used and canceled link screens.
Remove the person and confirm access ends.
| Situation | Message says | Next step offered |
|---|---|---|
| Link expired | This invitation is no longer valid | Ask the sender to resend |
| Link already used | This invitation has been used | Sign in, or ask for help |
| Signed in as someone else | This invitation was sent to another address | Sign out and reopen the link |
| Invitation canceled | This invitation is no longer valid | Contact the sender |
| Link mistyped or altered | This link does not work | Use the link in the email or ask for a new one |
The fields the portal should keep. The values are made up.
invited_email: as entered by the sender
role_granted: viewer / editor / admin
invited_by: user id
sent: date and time
expires: date and time
status: pending / accepted / expired / canceled
accepted: date and time, if anyFacts reviewed as of
You don’t need a finished brief. Tell us what you want to change or build, and we’ll reply by email with a sensible first step.