- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. 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.
Admin Panel / People / People
What it is
Every user on the instance: username, e-mail, whether they are an admin, the feature profile that applies to them, whether the account is active, which countries they sign in from, lockout status, when they were last active, and when the account was created. It is where a site administrator creates, edits, deactivates, unlocks, impersonates, anonymizes and deletes accounts, and puts people into teams.
Read more
- User (computing), Identity management and Internet geolocation on Wikipedia.
- Locked Users
- Members and Permissions
- Login — whether users may change their username or delete themselves.
- Impersonate user and the Impersonation report.
- Offices - where people log in from, grouped by address.
- Feature profiles
- Table page - the shared table this pane uses.
How to use it
Find people
- Open Admin Panel, People, People (
/admin/people/people). - Type into the search box beside the filters and press Enter: it matches the username, the full name and the e-mail address.
- Narrow the list with Show: — All Users, Locked Users Only, Active, Not Active or Admin — and with Team: (All Teams or one team).
- Move between pages with prev/next; the total is the whole result set, not the page.
Create and edit
- Click New in the first column's header, so a first user can always be created. (Not on Sandstorm, where every account is a Sandstorm user.)
- Click Edit on a row to change Username, Full Name, Initials, Admin, Email, Verified, Active Person, the authentication type, Organizations, Teams and the password, then Save.
- Click the avatar of a row to change that user's avatar.
Activate, deactivate, unlock
- Click the green check or the red ban sign in the Active Person column to deactivate or activate the account.
- Click the red lock in the Status column to unlock that account, or click Unlock All in the controls row to unlock every locked account.
More actions
- Open the ⋯ menu of a row for Impersonate user, Anonymize account and Delete.
- To add or remove teams for several people at once, tick them in the last column (the header checkbox selects every row) and click Teams in the controls row.
See where someone signs in from
- In the Location column, click a country flag with its count.
- The pane switches to that person's login addresses in that country, with the city, the IPv4 or IPv6 address, first seen and last seen; Back returns to People.
How the numbers are calculated
- Rows per page: 10,
TABLE_PAGE_ROWS_PER_PAGEin models/lib/tablePage.js; the server sorts by creation date, newest first, and sends only that page. - The number of people is: the count of all users matching the search and
the filters (
getUsersCollectionCount), not only the visible page. - Last active: the time of the user's last login or of the last heartbeat
of an open WeKan tab. A tab sends a heartbeat every 2 minutes
(client/lastActiveHeartbeat.js),
and the green dot "currently online" is shown when that time is at most 5
minutes ago (
ONLINE_THRESHOLD_MSin models/lib/lastActive.js). - Location: for each country, the sum of the login counts of the user's
tallied login addresses located in it; unknown (
XX), Tor (T1) and malformed country codes are left out, and a country's rows are sorted by count, most first (models/lib/loginTally.js). At most 200 users are asked for at once. A login address is kept untilLOGIN_ADDRESS_RETENTION_DAYS(default 365, 0 = for good) after its last use, then removed from the account and the address reports once a day (models/lib/loginAddressRetention.js). - Status (locked): locked while any source address of the account has an
unlock time in the future (models/lib/accountLockout.js);
the Locked Users Only filter uses the newest unlock time stored for
display (
services.accounts-lockout.lockedUntil).
How it works in WeKan
Each row has Edit and a ⋯ menu; the avatar can be changed from the row; the active and lockout states are clickable. The New link is the first column's header, so a first user can always be created. A deactivated user's row is struck through and cannot be selected.
- The pane is
peopleGeneralandpeopleRowin peopleBody.jade, built by peopleBody.js on the shared table page. - The rows come from the
peoplepublication (server/publications/people.js) andgetPeoplePageIds; the countries frompeopleLoginLocations(server/methods/loginOffices.js). - Every change goes through an admin-checked method -
setCreateUser,editUser,setPassword,setUsername,setEmailVerified,setInitials,adminSetAvatarUrl,removeUser,anonymizeUser,impersonate,unlockUser,unlockAllUsers- and the administrative ones are recorded in the Audit log. - A per-tenant Organization admin sees this pane too, but only the members of the Organizations they administer, can never grant the site-wide Admin flag and can never manage a site admin (models/lib/tenantAdmin.js).
- Pinned by tests/lastActive.test.cjs, tests/lockoutPerSourceAddress.test.cjs, tests/peopleTeamFilter.test.cjs, tests/tablePage.test.cjs, tests/tenantAdmin.test.cjs and the browser tests 05-admin-users.e2e.js and admin-impersonation-avatar.e2e.js.
Commits
- Login methods get menu entries of their own, and People opens on E-mail
- A URL for every left-menu entry
- A pane does not repeat the title above it
- Login and E-mail move from Settings to People
- The tables are back, and the selected menu entry stands out
- The feature profile of each person
- Every row's Last active reaches the table
- Last active for everyone, and inactive users can be disabled
- Add the Last active presence column
- Filter People by Team
- Add country login locations
- People shows who is locked again, and why
- One page of ten rows
- Search, filter and actions move to the shared controls row
- People renders through the shared table page
- The filter, the lock and active icons, and Unlock All
- Impersonate a user