Deployment, tenancy and security
How Quasar 2026.11.1 is deployed and how it protects data: - hosted service or self-hosted, from one product, with a first-run setup in the browser and a published installation file; - single-tenant or multi-tenant, and what a tenant is; - what an installation needs, with the memory it was measured to use on macOS, Linux and Windows; - tenant isolation enforced by PostgreSQL row-level security, and tested on every route, every tool and every background path; - sign-in with Quasar's own accounts or an OpenID Connect provider; - two-factor authentication and step-up for sensitive actions, making somebody a lead among them; - API keys (read-only, or limited to some projects), service accounts and rate limits; - concurrent changes, retries, and a busy database; - audit logs and event histories: what the database itself prevents, and what they still do not guarantee; - file handling, data export, retention and erasure; - backups and recovery on the hosted service, with measured figures: point-in-time recovery with at most about five minutes of changes at risk, a lost host rebuilt in about six minutes, and files copied to a second EU region; - monitoring and service levels on the hosted service; - how the software itself is tested, and the security documents available on request. Read this for security reviews, procurement questions and self-hosting decisions.
This chapter describes Quasar 2026.11.1.
Hosted or self-hosted
Quasar is one product, deployed two ways:
- Hosted: a multi-tenant service, where each organization is a tenant.
- Self-hosted: on your own infrastructure, by default with a single tenant.
The choice is a configuration of the installation, not a different edition. Everything in this guide applies to both unless it says otherwise.
An empty installation sets itself up from the browser: it generates its own secrets, migrates its database, and answers only its setup page behind a one-time code printed on the host until the first administrator exists.
For self-hosting (since 2026.11.0):
- an installation file for Docker Compose comes with each version and needs five settings. The image it runs is published once the licence text is final (see Licensing and pricing);
- two scripts back up and restore the database, the files and the instance's own keys together;
- every version's test gate starts that file exactly as published and checks that it reaches the setup page and keeps its data and keys across a restart (since 2026.11.1).
What a tenant is
A tenant is one organization's walled-off space: its people, projects, documents and settings. Nothing belongs to two tenants, and a person signed into one tenant sees nothing of any other.
Above the tenants, the operator of an installation manages it from a separate console:
- instance settings, mail and sign-in;
- background jobs and backup status;
- the platform audit log;
- the product guide;
- on the hosted service, the tenants themselves.
Inside the application, an operator can look into a tenant only through a "view as" session. It is read-only, as a member the operator chooses, for at most an hour, marked with a banner, and recorded in both the tenant's and the platform's audit log.
Where the hosted service runs: in the European Union, on Amazon Web Services in Ireland. Uploaded files also have a copy in Frankfurt (since 2026.11.1). A self-hosted installation keeps its data wherever it runs.
What an installation needs
- The application, a single container image for amd64 and arm64. It serves the web app, the REST API and the MCP server.
- The worker, from the same image. It renders each published documentation release once to PDF, Word, HTML and Markdown, and sends deadline reminders. It is required, and must see the same file storage as the application.
- PostgreSQL. All data lives in it.
- File storage: a local volume or any S3-compatible storage. Files are always served through the application or through short-lived signed links, never as public bucket addresses.
- Optional:
- antivirus scanning with ClamAV, off until configured;
- email over SMTP or Amazon SES, for deadline reminders, password resets, notices of a revoked key and the operators' service-level alerts.
Memory, measured with the published installation file (2026-10-30/31):
- macOS and Linux: about 600 MiB for Quasar's containers; ClamAV adds about 1 GiB;
- Windows, through WSL2: the WSL2 virtual machine is what to size, about 2.1–2.6 GiB with Quasar and 3.7–3.9 GiB with ClamAV.
Tenant isolation
Isolation between tenants is enforced by the database itself, through PostgreSQL row-level security. It is enabled and forced on every table that holds a tenant's data.
- Requests run under a database role that cannot bypass it, and every request runs in its tenant's context.
- The platform's own work that has no tenant context (sign-in before a tenant is known, the first-run setup, the operator's console, host jobs) uses a separate connection. Every module that touches it is listed with its reason, and a test fails on one that is not.
- The platform's own tables give the application role nothing beyond what each needs, and a test reads the database's grants to hold every exception to its stated reason (since 2026.11.1).
- Filters written in the application's queries are defence in depth, not the boundary.
- Tested in every release, against a real PostgreSQL:
- every route and every MCP tool is asked for another tenant's ids and for a hidden project's, and must answer as if they did not exist;
- the paths that run outside a request (background jobs, exports, signed file links, live updates) each run with two tenants of the same shape, and each must keep to its own.
Signing in
An installation chooses its sign-in provider:
- Quasar's own accounts: password and second factor, with password reset by email.
- An OpenID Connect provider: your organization's single sign-on.
Who may enter is decided by the identity the provider asserts, never by an email address alone. A person reaches an organization by:
- an invitation;
- an existing identity;
- membership the provider vouches for.
Sessions are kept on the server, in a cookie that carries no personal data.
Second factor and step-up
-
Methods. An authenticator app (TOTP) or a security key. There are no SMS codes.
-
Policy. An organization can require a second factor of every member, and new organizations start with it required. Administrators see who is enrolled, and can reset a member's factor; the reset is audited.
-
Step-up. Sensitive actions ask for a fresh second factor. Among them:
- creating API keys, and choosing or changing the projects a key is limited to;
- lowering data retention;
- exporting personal data;
- making somebody a lead, of a project, a division or a team, or by an access grant (since 2026.11.1);
- letting keys accept documents and confirm time (since 2026.11.1).
No API key can provide a fresh second factor, so no agent can perform them.
API keys and service accounts
- A key does at most what its owner can do, never more.
- Keys are shown once, expire after 90 days by default, and can be revoked at once, by their owner or by an administrator.
- A read-only key is enforced by the database: its transactions cannot write.
- A key can be limited to some projects and their sub-projects (since 2026.11.1). It then reaches nothing else, and none of the organization's settings, people or shared configuration.
- A service account holds its own keys and roles, from templates per job with the least privilege that job needs. It can be suspended in one step, and the database refuses to make it an organization administrator.
- Each key is rate-limited, so a runaway script slows down instead of degrading the service for others. The limits are kept per application process.
Concurrent changes and retries
- Stale writes are refused. Issues, documents, sprints and the other editable records carry a version; a change made against an outdated one is refused with the current state. Since 2026.10.23 so are the workflow and the Definition of Done. The other whole-configuration replacements (working calendar, section models, status definitions, a repository connection, instance settings) are last-write-wins, each declared with its reason.
- Retries do not repeat. Every write that would repeat an effect accepts an idempotency key; a retry with the same key within 24 hours gets the first answer, and the same key with a different request is refused. The creates that return a secret take no key. After 24 hours a key is a new request, and its stored answer is deleted.
- A busy database says so (since 2026.11.0). When no database connection frees up in time, the request is answered 503 «Database busy» with a
Retry-After, never a generic error, so a client knows to retry.
Permissions
- Levels: Viewer, Contributor and Lead on every project, division and team (since 2026.10.20).
- Organization roles: Admin, Member and Viewer.
- The Admin is Lead everywhere.
- An organization Member or Viewer reaches no project through that role alone (since 2026.10.20); access comes from a role on the project, on a project above it, or in a linked division or team.
- Overrides: an override on a project is the final word for one person, the nearest one wins, and it never applies to the Admin.
- Hidden versus refused. A project someone may not see does not appear to exist. A refusal is given only where the thing is visible but the right is missing.
- Agents get at most the access of the person whose key they use, or of the service account's own roles. A test suite checks every command against every role, on both the API and MCP.
- Decisions kept for people (since 2026.11.1, by default): accepting or revoking a document or a release revision, and confirming an agent's working time as a work log. An organization can let keys do them, which asks for a fresh second factor.
Records
- Tenant audit log: administrative actions, sign-ins, sign-outs and failed sign-ins.
- Event logs: every change to issues, documents and sprints.
- Who and with what. Every row records the person and the credential: a session, or the API key with its own id. It is set by Quasar, never declared by the caller. Both logs can be filtered by credential.
- MCP calls: every call an agent makes, with its outcome and, for a refusal, its reason. Kept 90 days.
- Platform audit log: every operator action.
What the database itself prevents (since 2026.11.1). The application's database role holds no right to update or delete a row of the six logs. The two changes it may make each go through one database function that checks its case:
- anonymizing a person who was erased;
- deleting an empty sprint together with its history, leaving a record of the deletion.
What the records still do not guarantee.
- They are not cryptographically sealed.
- The database's administrator is not bound by the rule above: whoever administers the database can change a row, and nothing would show it.
- An item's history is purged with the item when its trash period ends.
Files and delivered documents
- Attachments and uploads are size-limited and type-checked, and scanned when antivirus is configured. Attachments are always offered as downloads, never displayed inline. Images from the asset library are shown inline, in a sandbox.
- Exported documents are self-contained:
- they carry a strict content-security policy;
- they never load anything from the network;
- they refuse to deliver text marked internal.
Data export, retention and erasure
- Personal data export. Every person can export their own data as JSON, for the rights of access and portability.
- Retention. Deleted items stay in a project's trash for a period the organization sets, from 7 to 365 days, then are purged with their history. MCP call records and unconfirmed work sessions are kept 90 days; stored retry answers 24 hours.
- Erasure. Erasing a person anonymizes them in place, so histories stay consistent without naming them. The labels of their keys and the answers their retries stored go with them.
- Leaving the hosted service. On request, the operator exports the whole organization; it is then deleted after a 30-day grace period. This is not a self-service action today.
Backups and recovery (hosted service)
Measured, not promised:
- Backups. A nightly database backup and a daily snapshot of the encrypted disk, each kept for 7 days, in Ireland. A missing snapshot raises an alarm within a day.
- Point-in-time recovery (since 31 October 2026, with 2026.11.1). The database's changes are archived continuously, with a full backup every day, so the database can be brought back to a chosen moment. At most about five minutes of changes can be lost, instead of up to a day. In the drill, restoring a 700 MB copy of the database to a chosen moment took 52 seconds, and nothing committed before that moment was lost. Archiving that stops, falls behind or misses its daily backup raises an alarm.
- Rebuilding a lost machine. In the last drill (2026-10-30), a new machine was rebuilt from the backups alone in about six minutes; the database part took about one minute.
- Files. A deleted file can be recovered for 7 days from its own storage. Since 2026.11.1 every file is also copied to a second European region (Frankfurt), where a deleted file stays recoverable for 30 days. A file was restored from that copy and compared byte for byte.
- What is not covered. Both copies of the files, and the backups, are in the same cloud account: losing that account loses them all.
Monitoring and service levels (hosted service)
- Availability is checked from outside every 30 seconds, from three regions; two minutes without an answer raise an alert.
- Service levels are evaluated every five minutes: the rate of server errors, response times of reads, workflow moves and agent tools, failed agent calls, document renditions, and how fresh the backups are. A breach and its recovery are mailed to the operators (since 2026.11.0).
- Capacity, measured (2026-10-30): one instance of today's size served about 25 agent calls a second within those levels, which is roughly 80 to 150 agents at work. No organization's data appeared in another's answers, in about 14,000 calls under load.
- Incidents. A written procedure covers response and notifying customers: a customer whose personal data is affected is told within 24 hours of confirmation. There is one responder, stated plainly in that procedure. The procedure has not yet been exercised.
How the software is built
- Stack: TypeScript, PostgreSQL and Docker.
- Tests:
- 100% automated test coverage is the minimum for every change;
- on top of it: mutation testing of critical logic, property-based tests, golden tests for money, and tenant-isolation tests on a real database;
- adversarial suites run on every release: the role matrix, the tenant wall, attempts to get around the workflow, and injected failures such as racing writes, a git host that times out and a worker that was down. The chapter Working with AI agents lists requests you can run yourself.
- Dependencies are audited for known high-severity vulnerabilities before every release.
- Releases are numbered by date,
YYYY.MM.N, and every running build shows its version and commit. Each release runs first on a staging environment with its own machine (since 2026.11.0).
Security documents on request
The following are available under a non-disclosure agreement:
- a threat model: assets, actors, trust boundaries, and for each threat its mitigation and the test that holds it;
- a hosted security baseline: encryption, backup and restore, vulnerability management, incident detection, retention, each marked measured or intended;
- the incident response and breach notification procedure.
Ask through the contact in the chapter Licensing and pricing.