Skip to main content

Module user

Module user 

Source
Expand description

The people in a tailnet, invitations to join it, and who to email about it.

Structs§

Contact
An address the tailnet’s notices go to.
Contacts
All three contacts at once, keyed by kind.
CreateUserInvite
One invitation to create, as the request’s array carries them.
UpdateContact
What changing one contact sends. The kind is in the path.
User
A person with access to the tailnet.
UserInvite
An invitation for someone outside the tailnet to join it.
UserList
The tailnet’s users, filtered by whatever the query asked for.
UserRole
What changing somebody’s role sends.

Constants§

CONTACT_TYPES
The three addresses a tailnet keeps.
INVITE_ROLES
The roles an invitation can offer.
KNOWN_VALUES
SHAPES
Every model declared in this module, in declaration order.
USER_ROLES
The roles a user can hold.
USER_ROLE_FILTERS
USER_ROLES as a filter, where all means do not filter.
USER_STATUSES
Where a user stands with the tailnet.
USER_TYPES
Whether a user belongs to this tailnet or is shared into it.
USER_TYPE_FILTERS
USER_TYPES as a filter, with the same all.