Files
wekan/docs/Features/Admin-Panel/Problems/Impersonation-Report.md
T
Lauri Ojansivu a8fd080bc8 Docs mirror the Admin Panel and the menus: a page for every menu entry.
The docs tree is laid out like the menus - a menu path is a docs path.
Admin Panel / Settings follows the new structure: Visibility.md is
Appearance.md, with new Features.md, Feature-Profiles.md, Security.md,
Activities-and-Notifications.md and Delete.md; the section indexes,
Admin-Panel.md, Admin-Panel-URLs.md (with the moved-pane redirects) and
Validation.md follow the live menus, and Who-Sees-What.md explains in one
place which layer decides what is shown and what is allowed.

Pages are added for the menu entries that had none, each written from
the code: every Admin Panel / Problems pane, the member menu, the board
header, Board Settings, the All Boards left menu, and the list,
swimlane and card menus. Older links to the moved panes are updated
across docs/.

TODO.md records what documenting the menus found: Edit Profile does not
save a username for non-admins, the Support page's signed-out case is
unreachable, Create board from this card is hidden from members who can
edit the card, All Boards Settings is unreachable, and the Share template
targets live in browser storage.

Thanks to xet7 !
2026-11-19 01:22:22 +02:00

1.7 KiB

Admin Panel / Problems / Impersonation Report

Every time an administrator acted as another user, and why. Address: /admin/problems/impersonation. Site administrators only: the publication sends nothing, and the count method refuses, for anybody who is not isAdmin.

Where the rows come from

The impersonatedUsers collection. A row is written when:

Reason Written when
clickedImpersonate an administrator impersonates a user from Admin Panel / People (the impersonate method)
restCreateToken: <reason> an administrator creates a login token for another user through the REST API; the reason is required and kept, up to 500 characters
exportJSON, exportJSONattachment, exportExcel, exportExcelCard, exportCardPDF, or the export type a board, card or attachment is exported while impersonating, with the board it was exported from

Nothing in this pane deletes or changes a row.

The table

The shared table page, newest first, 10 rows a page, fetched one page at a time from the server (impersonationReport publication, getImpersonationReportCount method):

Column Holds
Date when it happened
Admin the administrator; click the name for the Edit user popup
Impersonated user the user acted as, when there was one; click for Edit user
Board the board id, for exports
Reason one of the reasons above

The search box applies when Enter is pressed. It matches, case-insensitively, the admin, user, board and attachment ids and the reason (models/lib/impersonationReportQuery.js) - ids, not user names.