CloudPanelBleed. Any site administrator of any WeKan could set the Cloud Panel Domain and its SuperAdmin in Admin Panel / People / Cloud and then make the server connect to any MongoDB server with credentials of their choosing - Test connection and Import build a MongoClient from the domain's database settings. A customer is the administrator of their own WeKan container, so a customer could reach MongoDB servers on the internal network. The Cloud Panel now exists only where the server has CLOUD=<its domain> (models/lib/cloudPanel.js cloudDomainFromEnv). The domain is never read from the database, the browser or the REST API; the People / Cloud pane is gone and cloudPanelGetSettings / cloudPanelSetSettings always refuse. Every cloudPanel* method except cloudPanelWhoAmI passes the CLOUD gate before anything else, its argument checks included, and the one MongoClient built from data that is not the environment (withSource) has the gate in its own body. A refusal is recorded in Admin Panel / Problems under the new keys authz.cloud-panel-off, authz.cloud-panel-access and authn.cloud-admin-address (bleed CloudPanelBleed; none disables an account). - Cloud Admins: on the CLOUD container its site administrators - the first registered user is one - not disabled, never a customer's account. They have Admin Panel / Cloud (/admin/cloud/<pane>, a tab shown only for a Cloud Admin at the CLOUD address): Domains, Invoices, Tickets, Chat, Cloudflare, Caddy, Allowed addresses. /cloud stays the customers' panel. - Customer login: a password login handler, ahead of accounts-password's and after the timing normalization, only at the CLOUD address, only for a name exactly one domain with its own database lists, never for a name an account of the panel's own has. The password is checked against that customer's own database hash with Accounts._checkPasswordAsync, under an id no local account has; a disabled or password-less account there is refused, and so is a wrong 2FA code. On success a local non-admin account without a password, services.cloudCustomer, which sees exactly its own domain: info, invoices, tickets and chat. - Support boards: one WeKan board per domain, "Support: <domain>", lists Open / In progress / Done for tickets and Chat with one card whose comments are the support chat (Board View / Chat shows them as a chat). Cloud Admins are board admins, customers Comment only: they read and comment but cannot create, edit, move, archive or delete a card nor manage the board; the panel adds their tickets into Open. The earlier cloudChatMessages are moved once into the chat card; imported Rocket.Chat and SandChat conversations go there too. - Allowed addresses: IPv4, IPv6 and CIDR ranges (models/lib/cloudAddresses.js). When set, a Cloud Admin login (resume included) from elsewhere is refused and recorded, and so is a Cloud Admin method. A list without the saver's own address is refused; CLOUD_ADMIN_ANY_ADDRESS=true sets it aside for a locked-out operator. Tests: tests/cloudPanel.test.cjs, tests/cloudAddresses.test.cjs, tests/cloudPanelAccess.test.cjs (the real methods and login handler without and with CLOUD), tests/cloudPanelGate.test.cjs (the MongoClient source scan), server/lib/tests/cloudPanel.security.tests.js and tests/playwright/specs/cloud-panel.e2e.js (negative without CLOUD; the positive part runs with CLOUD=localhost WEKAN_TEST_CLOUD=true). The guards that pin board inserts, comment inserts, card-reading paths, copy/move methods, the Admin Panel tabs and method areas list the panel's support board and its methods, with the reason. Thanks to xet7 !
Admin Panel / People
What it is
Who may sign in, who they belong to, and what they may do. Admin Panel / People
is the tab of the Admin Panel where a site administrator configures sign-in and
e-mail, manages users, Organizations and Teams, sets brute-force protection,
reads the audit log, and decides which board roles may invite. Every pane has an
address of its own, /admin/people/<slug>; a bare /admin/people opens
E-mail.
How to use it
- Sign in as a site administrator (a per-tenant Organization admin gets only People and Organizations here).
- Open Admin Panel, then People in its top bar.
- Choose a pane in the left menu, or open its URL slug directly. Each pane's own page is linked in the table below.
The table lists the panes in the order models/lib/adminUrls.js declares them.
The left menu draws them in a different order: E-mail, Notifications, Domains,
Organizations, Teams, People, Locked Users, Audit log, Roles, Shared templates,
and then the login panes from Login to Passwordless login. There is no Cloud
pane here: the Cloud Panel is turned on only by the
server's CLOUD environment variable, and is Admin Panel / Cloud there.
| Menu path | URL slug | Page | What it is |
|---|---|---|---|
| People / Login | login |
Login.md | What is allowed at sign-in, and the authentication method. |
| People / SAML | saml |
Login.md | SAML provider overrides and service URLs. |
| People / LDAP | ldap |
Login.md | Every LDAP_* setting, and a connection test. |
| People / OAuth2 | oidc |
Login.md | Every OAUTH2_* (OpenID Connect) setting, Oracle OIM included. |
| People / CAS | cas |
Login.md | Every CAS_* setting. |
| People / Header login | header-login |
Login.md | Every HEADER_LOGIN_* setting, read-only: header login is environment-only. |
| People / OAuth login providers | oauth |
Login.md | OAuth provider configuration. |
| People / Passwordless login | passwordless |
Login.md | Passwordless authentication settings. |
| People / E-mail | email |
E-mail.md | SMTP, the invite domain, and whether users may change their address. |
| People / Notifications | notifications |
Notifications.md | The site-wide notification default, overridable per board and per member. |
| People / Domains | domains |
Domains.md | The e-mail domains in use, with a user count each. |
| People / Organizations | organizations |
Organizations.md | Organizations, their per-organization switches, and the same-Organization board restriction. |
| People / Teams | teams |
Teams.md | Teams, their per-team switches, and the same-Team board restriction. |
| People / People | people |
People.md | Every user: e-mail, admin flag, active state, lockout, created date. |
| People / Locked Users | locked-users |
Locked-Users.md | Brute-force protection settings; who is locked is shown in People. |
| People / Audit log | audit-log |
Audit-Log.md | What site administrators did, newest first; kept for a year. |
| People / Roles | roles |
Roles.md | Which board roles may invite people to a board, and custom roles. |
| People / Shared templates | 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.
On Sandstorm, E-mail, Locked Users and the login panes are not shown: the grain's login and mail are Sandstorm's own.
See the pages above.