Files
wekan/docs/Features/Admin-Panel/People
Lauri Ojansivu 36b899b9d6 Multitenancy: one WeKan server for many domains, with Organizations as tenants.
Implements option D of docs/Design/Multitenancy/Multitenancy.md, which that
document now describes as shipped.

An Organization may claim hostnames (Admin Panel / People / Organizations ->
Edit), carry its own branding - product name, logos, help link, legal notice and
theme colour - and have its own Organization admins, appointed from the row's
"..." menu. The request's host picks the Organization; its branding replaces the
instance branding for that request, and the client bundle that host serves points
its DDP connection back at that host instead of at the one ROOT_URL.

An Organization admin administers their own Organization and nothing else: its
people, its Organizations row, its theme colour and its backups. They can never
grant the site-wide Admin flag, never manage a site admin, and never see another
Organization's people or archives.

Per-tenant backup and restore is one new control in Admin Panel / Attachments /
Backup - Scope. An Organization's archive holds its boards and everything on them
plus the attachments those boards use, and no accounts, no instance settings and
no org/team documents, because those are shared. A restore may only write to
boards that Organization owns: the board ids are the intersection of what the
archive claims with what the Organization really owns, every document is checked
against that, and "replace all" replaces that Organization's documents rather
than everyone's.

Admin Panel / Settings / Visibility gains a Change color section above Logo: the
site theme, rendered by the SAME shared picker as Board Settings and Member
Settings - one template for all three, the way one shared table page serves every
table. Its design is the new docs/Design/Page/Theme.md. The order of themes is
WeKan's default theme, then the site theme (an Organization's own value on its own
hosts), then a user's own override; a board's own colour still owns the board page.

All of it is OFF unless the server is started with MULTITENANCY=true (plus
MULTITENANCY_TRUST_PROXY_HOST=true when a trusted proxy sets X-Forwarded-Host), so
an instance that has never heard of tenants answers exactly as before. One WeKan
server per customer remains the supported topology for customers who must not
share a process, and the design says plainly what this does NOT isolate.

The decisions are three pure modules - models/lib/tenants.js, tenantAdmin.js and
tenantBackup.js - so the same rules run on the client, on the server and in the
tests. Four new suites pin the separation rather than the plumbing: forged Host
headers, cross-tenant queries, privilege escalation and cross-tenant restores.

Thanks to xet7 !
2026-07-26 07:48:18 +03:00
..

Admin Panel / People

Who may sign in, who they belong to, and what they may do — in menu order.

Menu path Page What it is
People / Login Login.md What is allowed at sign-in, and the authentication method.
People / E-mail E-mail.md SMTP, the invite domain, and whether users may change their address.
People / Domains Domains.md The e-mail domains in use, with a user count each.
People / Organizations Organizations.md Organizations, their per-organization switches, and the same-Organization board restriction.
People / Teams Teams.md Teams, their per-team switches, and the same-Team board restriction.
People / People People.md Every user: e-mail, admin flag, active state, lockout, created date.
People / Locked Users Locked-Users.md Brute-force protection settings and who is locked out.
People / Roles Roles.md Which board roles may invite people to a board.
People / Shared templates Shared-Templates.md Which scopes may share template boards.

Domains, Organizations, Teams and People are table pages: search on Enter, a total, page X / N, prev/next, and one page of rows fetched at a time. Locked users, Roles and Shared templates are forms, not tables.