Organisations
An organisation is the unit of isolation in MITHUNAI. Your assistants, knowledge, conversations, API keys, widget embeds and branding all belong to one organisation, and nothing crosses between organisations. Isolation is enforced on every request, from the identity that made it. It never depends on a value the client sends. A resource that belongs to another organisation is reported as not found rather than forbidden, so nobody can discover what exists elsewhere by guessing identifiers. Organisations are provisioned by your MITHUNAI administrator. There is no self-service sign-up.Roles
Every person and every API key holds one role in the organisation. The role decides what they can do.
Two rules apply to everyone:
- Nobody can grant a role above their own. An Administrator cannot create an Owner API key.
- Changes take effect immediately. Membership and permissions are checked on every request, so a removed member or a revoked API key is refused on its very next request.
People and machines
MITHUNAI recognises three kinds of caller. All three go through the same authorisation checks.
A widget visitor can only start a conversation with the one assistant the embed names, ask questions in it, and read their own conversation back. They cannot read your knowledge, your settings or anyone else’s conversation.