Expand description
What a user still holds (issue #173, step 1): the report an administrator or a group manager reads before somebody leaves – check-outs, change orders they wrote that are still open, pending reviews, change requests assigned to or raised by them, items they own, their memberships (and the groups in which they are the only active manager) and their API tokens.
The report is filtered by the viewer’s rights, never the leaver’s: a lock in a group the leaver was removed from is still listed, which is the lock nobody else would find. Administrators see every group they may read; for a group that hides its content from them (need-to-know policy) only the number of check-outs per group. A manager who is no administrator sees what lies in the groups they manage, and no tokens.
Read-only; every list is bounded by MAX_LIST with the full count next
to it.
Structs§
- Group
Count - Check-outs in a group whose content the viewer may not read: the count.
- Held
Change - A change order (authored and still open, or waiting for the user’s review).
- Held
Item - An item the user owns.
- Held
Membership - A membership of the user.
- Held
Request - A change request assigned to or raised by the user.
- Held
Revision - A revision the user has checked out.
- Holdings
- Everything the viewer may know about what a user still holds.
- Idle
SsoUser - An active single sign-on user who stopped signing in but still holds something (issue #173, step 9): typically removed at the identity provider and never offboarded in TeamCraft.
- Listed
- A bounded list with the number of entries there are in all.
Constants§
- IDLE_
SSO_ DAYS - Single sign-on users without activity for this many days are reported by
idle_sso_users(the stale threshold of the access review). - MAX_
LIST - Most entries of one kind in a report.
Functions§
- holdings
- The holdings of a user as
actormay see them. - idle_
sso_ users - Active single sign-on users without a sign-in or token use for
IDLE_SSO_DAYSwho still hold memberships, tokens or check-outs – candidates for Offboard and deactivate. Bounded byMAX_LIST. - to_text
- The report as plain text lines (the
teamcraft user holdingscommand).