Invitations · {slug} · PiCloud
← Users

Invitations

Pending invitations. Accepting an invitation creates the user and signs them in with a fresh session token; pre-staged roles are applied atomically.

{#if showCreate}
{ e.preventDefault(); void submitCreate(); }} > {#if sendEmail} {/if}
{/if} {#if error}
{error}
{/if} {#if loading}

Loading…

{:else if invitations.length === 0}

No pending invitations.

{:else} {#each invitations as inv (inv.id)} {/each}
Email Display name Roles Created Expires
{inv.email} {inv.display_name ?? '—'} {#each inv.roles as r} {r} {/each} {fmtTime(inv.created_at)} {fmtTime(inv.expires_at)}
{/if}
{#if toRevoke} (toRevoke = null)} >

Revoke pending invitation for {toRevoke.email}? The token sent to them becomes inert immediately.

{/if}