PrincipalType
: string
in package
A type of principal that is requesting information or performing an action.
New cases may be added in future versions. Consumers MUST handle unknown cases, e.g. with a default branch that denies.
Tags
Table of Contents
Cases
- Anonymous = 'anonymous'
- No account: anonymous user, public link visitor, Talk guest, email participant.
- Bot = 'bot'
- Non-human client: Talk bot, integration, assistant.
- System = 'system'
- Instance-internal component: retention job, occ command, migration.
- User = 'user'
- Account on this instance, or on a federated instance if the principal has an origin.
Cases
User
Account on this instance, or on a federated instance if the principal has an origin.
Tags
Anonymous
No account: anonymous user, public link visitor, Talk guest, email participant.
Tags
Bot
Non-human client: Talk bot, integration, assistant.
Tags
System
Instance-internal component: retention job, occ command, migration.