Skip to main content

Set Up Your Organization

This guide is for the administrator of an organization. You will open the Admin Console, add your first users, give them roles, set up Google or SSO sign-in settings, and check the audit trail. For a field-by-field list of every Admin Console page, see Administration.

Map of the Admin Console menu: Account, Organization, Platform and Security groups and their items

Open the Admin Console​

  1. Select your name at the bottom of the sidebar, then Admin console (or choose Admin Console in the System group).
  2. The Admin Console menu appears. Its groups are Account, Organization, Platform and Security.

You only see the Organization, Platform and Security items if you are an organization administrator: a superuser, a user holding the organization_admin, org_admin or admin role, or a user with one of the organization or user read/manage permissions. If you only see Profile and Appearance, ask an existing administrator for the role.

Add a user​

Open Organization, then Users. This opens the Access control page on its Users tab.

The page has seven tabs, listed in a menu on the left of the page: Users, Groups, Roles & permissions, User roles, Direct grants, Overrides and Audit. The users table shows User, Status, Roles, Last login and Actions, and a Search members box.

Select Add user. The Add organization user dialog offers three modes:

ModeUse it whenWhat happens
Invite userThe person will choose their own password.The user is created inactive. The person receives a link to create a password and activate the account.
Create password userYou must hand over a password now (non-SSO accounts).A verified, active user is created with the password you type (minimum 8 characters).
Add existing userThe person already has an account in another organization.They keep their account and home organization and gain access here with the roles you pick. You must select at least one role.

Each mode asks for Email (required), Full name and Initial roles (a checklist of the roles in your organization).

Invite a user​

Invitation sequence

  1. Choose Invite user, enter the email and, optionally, the full name and initial roles.
  2. Leave Send invitation email ticked to email the link, then select Send invite.
  3. If the email was sent, a toast reads "Invitation sent to <email>". The user appears with status Invited.
  4. The invitee opens the link (an Activate your account page), chooses a password that meets the password rules, and the account becomes active. They then sign in at the normal sign-in page.

The link can be used once and expires after 72 hours. Sending a new invitation replaces the old link.

If no email was sent, a dialog titled Share the invitation link appears, with the message "No email was sent to <email>. Share this link with them so they can create their password. It can be used once and expires <time>." and a Copy link button. This happens when you untick Send invitation email, when the auth service has no mail relay or public base URL configured, or when the send fails. Copy the link and deliver it yourself.

To send a fresh link later, find the user (status Invited) and select Resend invitation. A user whose link expired shows the same button.

note

Whether invitation email works depends on how your deployment is configured (SMTP host, sender and the public base URL). Tietai support or your IT team sets these; they are not editable in the Admin Console.

Create a password user​

Choose Create password user, enter email, full name and a password of at least 8 characters, then Create user. The password must satisfy the server rules in Administration: at least 8 characters with an uppercase letter, a lowercase letter and a number, and not a repeated character or a simple sequence.

Manage an existing user​

In the Actions column:

ButtonWhat it does
EditChange Full Name and Email Address, the assigned roles, and the status (Activate User, or set inactive/pending).
Resend invitationOnly for users with status Invited.
Set passwordOpens Set user password. Enter and confirm a new password (8 characters minimum). It does not need the user's current password. Use it for local accounts.
ImpersonateShown only to Tietai staff.
Red bin iconDeactivate user. The user loses access at once. The account and its records stay for audit, and you can reactivate it by editing the user. You cannot deactivate yourself.

A user from another organization carries an Other organization tag; the only action is Remove access, which removes their roles and access in your organization without touching their account or home organization.

The API also has block and unblock operations (a blocked user shows a red Blocked status and cannot sign in). The Access control page does not have buttons for them.

Give users the right roles​

Predefined roles​

The platform's role definitions ship these organization roles (tietai-auth-service/app/schemas/role.py):

Role (display name)Intended forNotable permissions
organization_admin (Organization Administrator)Running the organization.Full user, organization, connection, integration, FHIR, billing, project, pipeline, agent and RAG permissions.
integration_manager (Integration Manager)Integration work.Connections and integrations (create, read, update, delete, run), HL7, FHIR and X12; read and run pipelines and agents; cannot create pipelines.
developer (Developer)Building and testing.Create and update projects, pipelines and agents and run them; no delete rights; no user management.
viewer (Viewer)Read-only access (the default role).Read and list organizations, connections, integrations, projects, pipelines and agents.

Two system roles exist outside organizations: superuser ("System Administrator", all permissions) and platform_manager ("Platform Manager", only agents:manage_base_templates). There is no predefined "Clinician" or "Admin" role. The Roles & permissions tab shows the roles actually present in your organization, so treat it as the authority; yours can include more roles than this list.

Assign roles​

Use the User roles tab: pick a user, tick roles, and select Save user roles. Saving replaces the user's role list. You can also set roles when you add or edit a user.

Create a custom role​

  1. Open Roles & permissions, then Create role.
  2. Fill Display Name, Role Name (Internal) (for example data_analyst), Description (required) and the Permissions you want.
  3. Select a role in the list to edit its permissions in place. System roles show Read-only system role; custom roles show Editable custom role and a Delete button.

Permissions can carry an enforcement badge. Enforced means the owning service checks that permission key. Enforced via role means a role still grants it, so assigning the key alone does not restrict access. Declared — not enforced yet means assigning it has no effect today. Read the badge before you rely on a permission to lock something down.

Groups, direct grants and overrides​

  • Groups: create a group (name and description), then add or remove members. The page states that groups currently support membership and group member role only.
  • Direct grants: give one user permissions on one resource (resource type Organization, Project, Pipeline, Agent, Workflow, Node or Execution; a resource ID; notes). Use this only when role policy is not enough.
  • Overrides: create a per-user inheritance override on a resource, with a reason.
  • Audit: choose a user to see their resolved access summary.

Configure SSO and allowed domains​

Open Security, then SSO / SAML (SSO configuration). This page needs an organization administrator.

  1. Switch Enable single sign-on on.
  2. Choose a Provider: Google, Microsoft, Okta, Auth0, Custom OIDC or Custom SAML.
  3. Enter Client ID and Client secret. The secret is stored and never shown again; the page then reads "Secret is already stored".
  4. Enter the OIDC issuer URL (every provider except SAML) or the SAML metadata URL (Custom SAML), and optionally a Metadata URL.
  5. Under Allowed email domains, add each domain (for example demo-hospital.example) with Add. Optionally keep Validate email domains and Auto-provision users on.
  6. Select Save configuration, then Test SSO connection (an optional test user email can be filled in). The test checks that the provider answers (OIDC discovery or metadata fetch) and records the Last tested time.

What this actually does today:

  • Google sign-in uses the allowed domains. When someone signs in with Google, their email domain must be on the list, and they are placed in the organization that owns the domain. A user who does not exist is created on first Google sign-in. A domain that is not listed is refused with "email domain is not authorized for oauth login".
  • The provider settings are stored and connectivity-tested. The auth service has no OIDC or SAML sign-in endpoint, and the sign-in page has no OIDC or SAML button, so enabling Okta, Auth0, Microsoft, Custom OIDC or Custom SAML here does not by itself add a way to sign in.
  • No code reads Validate email domains or Auto-provision users during sign-in. The Google flow checks the domain list and creates users regardless of those switches.

If you need OIDC or SAML sign-in, confirm with Tietai support before planning a rollout around it.

warning

Do not disable password sign-in expectations for a go-live on the strength of this page alone. Keep at least one administrator who can sign in with a password or Google.

Organization settings​

Organization, then General Settings (Organization settings) has four tabs: General, Configuration, API Tokens and Agents.

  • General shows the selected organization, your user, your home organization and every organization you can access (with a Home tag). Only platform operators (superusers and platform administrators) see Create Organization and the edit and delete icons.
  • Configuration lists the organization's configuration rows with a category filter and search; each row shows its value and state badges (Active, Inherits system, Read only) and a Save button for editable values. Sensitive values are masked.
  • API Tokens is the same token manager described in Administration.
  • Agents (also Consulta Agents in the menu) chooses which agent or pipeline runs each Tiet · Consult flow: General consult agent and SOAP report agent, each defaulting to System default; it also holds Diagnosis coding settings.

Locale, display and business-hours settings (timezone, date and time format, logo URL, colors, business hours) live on a separate General section of the Settings page at /settings#general; the Admin Console menu does not link to it.

Review the audit trail​

Open Security, then Audit Trail. The page lists events with Timestamp, User, Action and Resource, 20 per page. Filter by search text, a date range and action type (Create, Update, Delete, Execute, Login, Logout, View, Export, Error). View Details opens one event. Export Log downloads a CSV named audit_logs_<date>.csv with the columns timestamp, user_email, user_name, action_type, action_description, resource_type, resource_name, status and ip_address. CSV is the only export format.

The auth service writes audit events for user invitations (sent and accepted), password-reset requests and completions, block and unblock, role assignment and removal, groups, organization and member changes, environments, SSO configuration, signing keys, connections and impersonation. The service source writes no audit entries for sign-in, sign-out or API-token creation, so do not use this page as a sign-in log.

Secrets and environments​

  • Platform, then Secrets (/organization-secrets) stores named secrets by type, environment, service restrictions and rotation days. The auth service source lists secrets and checks rotation only; creating, editing, rotating and revealing a value are marked deferred there. If Add Secret fails, that is the likely cause. See Administration.
  • Platform, then Environments manages named environments with variables. See Administration. Environments for promotion between deployments are described in Environments and Promotion.

Which auth service does the UI call?​

The Admin Console calls the gateway paths /admin/users, /admin/groups, /admin/audit-logs, /admin/environments, /organizations/{id}/sso and /api-tokens, which the gateway maps to the auth service. Two implementations are in the repository: the Go service tietai-auth-service-go (described as the replacement for the Python service) and the original Python tietai-auth-service. The gateway comments and the Go service's parity notes show the Go service is the target behind the current gateway, and this guide follows it (branch dev). Predefined role definitions are only in the Python service's source. The gateway routes to a fixed address that the repository does not tie to one implementation, so if your deployment behaves differently from this guide, ask Tietai which version you run.

Troubleshooting​

ProblemCause and fix
No Organization, Platform or Security items in the menuYour account is not an organization administrator. Ask for the organization_admin role.
Users table shows "Unable to load users from auth service."The request failed or you lack the manage users permission. Reload; check your role.
Invited user says "This invitation is no longer valid"The link was used, replaced by a newer one, or is older than 72 hours. Select Resend invitation.
Failed to create user toastThe server message is shown. A password that breaks the policy returns the list of unmet rules; a duplicate email is also refused.
"Failed to update password"The new password does not meet the policy. Use 8 or more characters with upper case, lower case and a number.
Google sign-in says "email domain is not authorized for oauth login"Add the domain under Allowed email domains on the SSO page.
No invitation email arrivesCheck the Share the invitation link dialog appeared; if email is not configured, deliver the link yourself or use Create password user.

Something unclear? Send documentation feedback by email.