Repository navigation
Directory Maintenance Developer Guide
Since 5.3.0 Β· #261, #263 Β· PR #264 by vsc55 (review) Β· User guide: Imported people Β· Emailing the report: Emailed reports - Developer Guide
One rule for every directory source (LDAP, CardDAV, Entra ID), and one service that looks after the people a source imported: three lists, the writes on them, the "what if" previews, and the delete of a source itself. The service never emits HTTP; the endpoints pass it an ActorContext and turn its ServiceError into JSON.
| File | Role |
|---|---|
includes/users.php |
userManagedSql() - the rule. userDeleteBlockedByHistory(), userDeleteBlockedByRecords(), userDeletePerson() and the three lists of tables they work from (USER_DELETE_CASCADE, USER_DELETE_SET_NULL, USER_DELETE_LOGS) |
includes/services/directory_maintenance.php |
DirectoryMaintenance - the lists (orphans(), stale(), imported(), importRuns(), deletedSources()), the counts (orphanCount(), staleCount()), the previews (previewSourceDelete(), previewRemove()), the writes (apply(), releaseSource()) |
api/system/directory_maintenance.php |
Administrators only. GET ?action=orphans / stale / runs / imported / preview_delete / preview_remove (never writes); POST {action:'apply', list, do, ids, provider, days, run}
|
api/system/delete_sso_provider.php |
Deleting a source: {id, people: 'keep' | 'left'}, all in one transaction (see below) |
api/tickets/delete_user.php |
Tickets β Users delete: the directory refusal (#238), the history refusal, then userDeletePerson()
|
system/directory-maintenance/index.php |
The Imported people page (a Maintenance tool, sys-page); ?source=<id> opens on that source |
assets/js/directory-maintenance.js |
The page's lists, and the preview dialog (sys-modal-xl) shared with System β Authentication's delete. Loads pdf-writer.js and email-report.js only when PDF or Email is pressed |
system/maintenance/includes/tools.php |
The Maintenance card; its count is DirectoryMaintenance::orphanCount()
|
system/includes/imported_people_notice.php |
importedPeopleNotice() - the line under Run on the LDAP, CardDAV and Entra pages (system/sso/provider.php, carddav.php, entra.php) |
includes/people.php |
peopleOrgGaps() - the orphans as a third, read-only gap on the organisation chart |
system/help/directory-maintenance.php |
In-app help, Imported people |
tests/directory-maintenance.php |
89 checks, always rolled back - see the end |
function userManagedSql(string $u = 'u'): string
{
return "($u.is_managed = 1 AND EXISTS (SELECT 1 FROM auth_providers ump WHERE ump.id = $u.auth_provider_id))";
}Every reader of is_managed asks this instead of the column - the locked fields on Tickets β Users, the portal profile and Assets β Users, the delete refusal (#238), Starters, People and its gaps, the merge preview. It is written to be dropped in as a column, so the code reading the row does not change:
"SELECT u.id, ..., " . userManagedSql() . " AS is_managed FROM users u ..."Why not is_managed alone: deleting a source left its people flagged, and with no protocol userDirectoryOwnedFields() locks the whole directory list - locked for good, with nothing ever updating them.
Why EXISTS and not auth_provider_id IS NOT NULL: the foreign key that NULLs the id is in database/freeitsm.sql, but Database Verification adds no constraints, so on a verified install a deleted source leaves a dangling id. EXISTS frees those people the moment the code is in - no migration.
The WHERE of each list lives in one private method, and the page, the count, the preview and the write all use it - so they cannot disagree about who is in it.
| List | WHERE |
Actions (ACTIONS) |
|---|---|---|
| orphans - source deleted |
orphanWhere(): u.is_managed = 1 AND NOT EXISTS (SELECT 1 FROM auth_providers op WHERE op.id = u.auth_provider_id)
|
keep, left, delete |
| stale - no longer brought in |
staleWhere($providerId, $days): the source's managed people with last_seen_in_source empty or older than $days (STALE_DAYS = 30, 90, 180, 365; the page and the notice use STALE_DEFAULT = 90) |
keep, left, delete |
| imported - Remove imported people |
importedWhere($providerId, $runId, $deleted, $logged): created by a live run of the source (one run, or any), and still its - see below for a deleted source |
remove |
-
keep -
release():is_managed = 0, auth_provider_id = NULL. An ordinary person from now on. -
left -
is_active = 0anddeactivated_datetime; on the orphans list it also releases them, or they would stay on the list for good. -
delete / remove -
userDeletePerson(), after the checks below.
Each list is at most LIMIT (500) people; a preview, read in full, at most PREVIEW_LIMIT (5000). Everything is scoped by peopleScope($conn, $actor->actorId, 'u.tenant_id').
apply() never trusts the ids it is given. It selects them again with the list's own WHERE and the analyst's company scope, and anybody not in that result is skipped Not in this list any more.:
[$scope, $sArgs] = peopleScope($conn, $actor->actorId, 'u.tenant_id');
$st = $conn->prepare("SELECT u.id, u.display_name, u.preferred_name, u.email, u.username FROM users u
WHERE u.id IN ($marks) AND $where $scope");
$st->execute(array_merge($ids, $args, $sArgs));A stale page or an id typed into a request does nothing to anybody else.
private static function sourceImports(array $src): bool
{
return (int)$src['enabled'] === 1 && (int)$src['sync_enabled'] === 1;
}While both are on, apply() throws ServiceError('conflict', 'source_imports', ...): the next run would create everybody again. These do not ask userDeleteBlockedByDirectory() (the hand-delete rule, #238) - undoing an import is exactly what that rule leaves a way through for.
An import either created a person or adopted one who was already here (matched by email). Only created people are ever deleted (Ed, #261).
-
The import history:
directory_sync_entries.action='created'or'adopted', per live run indirectory_sync_runs. -
The delete's log entry:
releaseSource()reads whom the source's imports created before anything changes and writes them into itssystem_logsrow (log_type = 'directory_maintenance',details.list = 'source_deleted',details.created = [ids]). That is what lets Remove work after the source is gone:deletedSources()reads those rows (and any import history that outlived the source) and offers "Entra ID (deleted)".
For a deleted source, importedWhere() takes the people managed by no source that exists, created by the history or listed in the log entry:
if ($deleted) {
...
if (!$runId && $logged) {
$created = "($created OR u.id IN (" . implode(',', array_fill(0, count($logged), '?')) . '))';
}
return ['NOT ' . userManagedSql('u') . " AND $created", $args];
}Delete on the orphans and stale lists asks notCreatedReasons() per person: adopted β Existed before the import - kept.; created (history, or the log entry for their deleted source) β go ahead; nothing recorded either way β Nothing records that an import created this person - kept.; on the stale list, never found by any import (last_seen_in_source empty) β kept.
The one way a person is deleted - Tickets β Users and the maintenance tools both come here, after their own checks. A verified install has no foreign keys, so it does by hand what database/freeitsm.sql would:
foreach (USER_DELETE_CASCADE as $t => $c) $run("DELETE FROM `$t` WHERE `$c` = ?");
foreach (USER_DELETE_SET_NULL as [$t, $c]) $run("UPDATE `$t` SET `$c` = NULL WHERE `$c` = ?");
$conn->prepare("DELETE FROM users WHERE id = ?")->execute([$userId]);| List | Tables | Treatment |
|---|---|---|
USER_DELETE_CASCADE |
portal_user_preferences, portal_notifications, user_sso_identities, user_email_addresses, user_email_claims, user_audit, messaging_identity_links, directory_group_members, project_members, user_password_reset_tokens, manager_grants
|
Theirs - deleted with them |
USER_DELETE_SET_NULL |
users.manager_id, ticket_recordings.recorded_by_user_id, form_submissions.submitted_by_user_id, contracts.customer_user_id, ticket_assets.created_by_user_id, domains.customer_user_id, jml_cases.user_id, jml_cases.manager_user_id
|
Records that outlive them - the name is let go |
USER_DELETE_LOGS |
directory_sync_entries.user_id, carddav_write_log.user_id
|
Facts about the past - left as they are |
It opens its own transaction unless the caller holds one, and skips a table this install has not got (42S02 / 42S22).
What blocks it:
-
userDeleteBlockedByHistory()- tickets they raised, equipment they hold. Both delete paths ask it. -
userDeleteBlockedByRecords()- bulk tools only. Any other record that names them, found throughuserReferences()(which also finds columns with no foreign key), ignoring their own rows,users.manager_idand the logs. Tickets β Users does not ask it: one person, deleted on purpose, and their records lose the name as the schema'sON DELETE SET NULLsays.
In the service, both are deleteBlocked(); a blocked person is skipped with the reason, never an error.
api/system/delete_sso_provider.php, one transaction:
-
beginTransaction(). -
DirectoryMaintenance::releaseSource()- first, whileusers.auth_provider_idstill says who belongs to it: refuses if any of its people are in a company the analyst cannot access; records whom its imports created; marks them as left if asked; setsis_managed = 0, auth_provider_id = NULLon every row pointing at the source; logs it (list = 'source_deleted', logged even with nobody to release, because the entry is where the deleted source's name is kept). - Deletes, explicitly, what a verified install has no foreign key to cascade:
carddav_write_log,directory_group_membersthendirectory_groups,user_sso_identities,analyst_sso_identities,sso_group_teams,sso_groups_seen- each tolerating a missing table. -
DELETE FROM auth_providers. - Resets
analysts.auth_provider_idand teams that signed in with it, then re-applies team sign-in methods (analystSignInApplyMany()). -
commit(). AServiceError(the company check) returns its own words; anything else rolls back and returns a fixed sentence - never the exception's text.
directory_sync_runs is not deleted: a verified install keeps the import history. An install made from database/freeitsm.sql has ON DELETE CASCADE there, so it goes; historyGoesWithSource() reads information_schema.REFERENTIAL_CONSTRAINTS so the preview says which happens on this install.
?action=preview_delete&provider=<id>&people=keep|left and ?action=preview_remove&provider=<id>[&run=<id>][&ids=1,2,3] - GET, nothing written.
-
previewSourceDelete()returns the people and each one's outcome (kept,marked_left,kept_left), the fields that unlock (userDirectoryOwnedFields()),people_hiddenandcan_delete, and every record that names the source with its outcome (removed,kept,passwordfor analysts who sign in with it, the reader markedyou), plus whether the scheduled import imports it now. -
previewRemove()returns who would be removed or skipped (and why), with each person's sign-in links, group memberships and how many report to them.
The dialog builds a model from the preview and turns it into HTML, a PDF (pdf-writer.js) or an email (emailReportToMe(), which posts the PDF and the HTML; System β Emailed reports decides what the email carries):
async function emailReport(m) {
const send = await emailer(); // loads email-report.js the first time
const blob = await pdfBlob(m);
return send({
subject: m.title,
html: '<h2>' + esc(m.title) + '</h2>' + m.lines.map(l => '<p>' + esc(l) + '</p>').join('') + modelHtml(m),
filename: pdfName(m),
pdf: blob
});
}-
Lists, counts and previews:
peopleScope()- the companies the analyst can access (nothing on a single-company install). -
Deleting a source changes every company's people, so
sourcePeopleOutOfReach()counts those outside the analyst's companies (0 for an analyst with every company,analystHasAllTenantAccess()); the preview lists theirs and says how many more (people_hidden), andreleaseSource()refuses withServiceError('forbidden', 'company_scope', ...)while it is above 0. -
The Maintenance card's count (
orphanCount()) is every company: it is a "somebody should look" signal for administrators.
-
TRAP: never read
users.is_managedon its own. UseuserManagedSql(). The column stays 1 on a person whose source has gone (a verified install has no foreign key to clear it), and reading it alone locks them for good. -
TRAP: keep
USER_DELETE_CASCADE/USER_DELETE_SET_NULLin step withdatabase/freeitsm.sql. EveryREFERENCES users (id) ON DELETE CASCADEbelongs in the first; a table holding history must never go there - it goes in the second, or blocks the delete. -
TRAP: never delete a person with a bare
DELETE FROM users. UseuserDeletePerson(), or a verified install is left with rows pointing at nobody. -
TRAP:
releaseSource()must run before the source row goes. After the delete nothing says whose people they were, and on a schema-file install the import history - the record of whom it created - cascades away with it. -
TRAP: a new list or action must re-select in
apply(). Acting on the ids posted is how a stale page deletes the wrong person. -
TRAP: anything new that hangs off
auth_providersmust be deleted by hand indelete_sso_provider.phpand listed inpreviewSourceDelete(). Database Verification adds no foreign keys, and the preview promises it lists everything.
Run it in the test install's own folder (its config.php points at the throwaway database; the test refuses any other):
cd c:/wamp64/www/freeitsm-prtest
FREEITSM_TEST_DATABASE=freeitsm_prtest FREEITSM_BASE_URL=http://localhost/freeitsm-prtest php tests/directory-maintenance.php
It builds two companies, two sources, people imported by each, a source deleted the way a verified install deletes one (leaving a dangling id), an import run that created one person and adopted another, and a person with a ticket - inside a transaction that is always rolled back. It goes through the real userManagedSql(), personDetail(), peopleOrgGaps() and DirectoryMaintenance, and checks each preview against the write it describes. Controls: a person whose source still exists stays managed and off the orphan list; an analyst limited to one company sees nobody from the other; Remove deletes nobody it was not asked to.
Related: tests/system-maintenance.php (the Maintenance card), tests/people-org.php (the third gap), tests/directory-managed-users.php (the locked fields).
FreeITSM β an open-source IT Service Management platform Β· github.com/edmozley/freeitsm Β· MIT licence
- Installation
- β° Scheduled tasks (cron jobs)
-
Architecture
- β³ π§Ή Root folder tidy (URL routing)
- β³ π Database Integrity (FKs & constraints)
- β³ π οΈ Database Verification β Developer Guide
- β³ π§© Service Layer (UI + API share code)
- β³ πͺ€ Code traps (the TRAP: comments)
- β³ π Commenting for the Engineering wiki
- β³ π οΈ Engineering wiki scanner - Developer Guide
- β³ π Service-Layer progress
- π€ Contributing (read before a pull request)
- π§ͺ Developer tests
- π PDF exports moved to PDFKit (#254)
- AI Providers
- Internationalisation (i18n)
- Timezones & Time Handling
- π Date & Time Formats
- π± Currencies
- π§ The sidebar (optional module rail)
- π§© Preference templates
- π Display order (modules, Watchtower cards) β Developer Guide
- Theming & Dark Mode
- ποΈ Recent β getting back to what you were doing
- β¨οΈ Command palette (βK)
- π Searching inside tickets
- π Attached documents
-
MobileβFriendly
- β³ π« Mobile: Tickets
- β³ π» Mobile: Assets
- β³ π Mobile: Calendar
- β³ π Mobile: Knowledge
- β³ π¦ Mobile: Service Status
- β³ πΌ Mobile: Watchtower
- β³ π§© Mobile: Problem Management
- β³ π Mobile: Change Management
- β³ πΏ Mobile: Software
- β³ β Mobile: Tasks
- β³ π Mobile: Forms
- β³ π Mobile: Contracts
- β³ π Mobile: Domains
- β³ π Mobile: People
- β³ π Mobile: Projects
- β³ ποΈ Mobile: Files
- β³ π Mobile: LMS
- β³ πΊοΈ Mobile: CMDB
- β³ πΊοΈ Mobile: Network Mapper
- β³ π§ Mobile: Process Mapper
- β³ βοΈ Mobile: Workflow
- β³ π₯οΈ Mobile: System
- β³ π Mobile: Reporting
- β³ π Mobile: System Wiki
- β³ π Mobile: Self-Service Portal
- β³ π§° Mobile: Techniques & Tricks
-
Security
- Layer 1 β which modules you can enter
- β³ π§© Module Access Control
- β³ π οΈ Module Access β Developer Guide
- β³ π Switching modules off
- β³ π οΈ Module availability β Developer Guide
- β³ π Module availability β design (#217)
- Layer 2 β what you can administer
- β³ π Roles & Permissions
- β³ π οΈ Roles β Developer Guide
- β³ π€ Why capabilities are constants
- Layer 3 β the System module
- β³ π Admin Access Control
- Hardening
- β³ π Security review response 2026-08
- β³ π‘οΈ Security hardening 2026-08
- β³ π οΈ Security hardening 2026-08 β Developer Guide
- β³ π‘οΈ Round three β plain English
- β³ π οΈ Round three β Developer Guide
- β³ π‘οΈ CSRF protection (S4) β Developer Guide
- Single Sign-On (SSO)
- ποΈ LDAP & Active Directory
-
π¦ Microsoft Entra ID
- β³ π₯ Importing people and groups
- β³ π» Intune: assets to their primary user
- β³ π’ Organisation chart
- β³ π οΈ Entra directory sync β Developer Guide
- β³ π οΈ Entra import - review (#235)
- β³ π οΈ Entra follow-ups - review (#237-#240)
- β³ π οΈ Intune primary user - review (#236)
- β³ π οΈ Intune after an Entra import - review (#334)
- β³ π οΈ Organisation chart - reviews (#242, #265)
- π CardDAV contact sync
- Browser Extension
- API Reference
-
π REST API β how it works
- β³ π Proposal: custom fields, inventory import and change evidence (#194)
- β³ π οΈ Custom fields, evidence + inventory - review (#195-#197)
- β³ π οΈ Long forms in a task's Work view - review (#198)
- β³ π οΈ Empty Procedures fold - review (#247)
- β³ π« REST API: Tickets
- β³ π» REST API: Assets
- β³ π΄ REST API: Problems
- β³ π REST API: Changes
- β³ π REST API: Knowledge
- β³ β REST API: Tasks
- β³ ποΈ REST API: CMDB
- β³ π REST API: Contracts
- β³ ποΈ REST API: Calendar
- β³ πΏ REST API: Software
- β³ π REST API: Domains
- β³ π¦ REST API: Service Status
- β³ βοΈ REST API: Morning Checks
- β³ π REST API: Forms
- β³ βοΈ REST API: Workflow
- β³ π·οΈ REST API: Cost centres
- β³ π’ REST API: Companies
- β³ π REST API: Chart of accounts
- β³ π REST API: Projects
- β³ π‘οΈ API threat protection
- β³ π§βπΌ REST API: Analysts
- β³ πΊοΈ REST API: Network Mapper
- β³ π§ Using the API docs page
- β³ π OpenAPI specification
- β³ β OpenAPI: kept correct
- β³ π οΈ Maintaining the catalogue
- Watchtower
-
Tickets
- β³ Reply subject and replying to one message
- β³ π Live updates
- β³ π οΈ Watching a ticket - Developer Guide (1 of 2)
- β³ βοΈ Ticket address suggestions - Developer Guide
- β³ π οΈ CSAT delay and reminder - Developer Guide
- β³ π οΈ Ticket checklist step types - Developer Guide (1 of 2)
- β³ π οΈ Right-click Attach checklist - Developer Guide
- β³ π οΈ Checklists in the REST API - Developer Guide
- β³ π A ticket's related block and attachments - Developer Guide
- β³ π οΈ Inbox.js map β Developer Guide
- β³ π οΈ Floating windows & the file viewer β Developer Guide
- β³ π οΈ Tickets settings β Developer Guide
- β³ π Simpler ticket and task forms - design (#218)
- β³ ποΈ The ticket workspace
- β³ π Forms on tickets
- β³ π The ticket table
- β³ π Rota copy and paste β Developer Deep Dive
- β³ β Checklists & SOPs
- β³ βοΈ Mandatory fields
- β³ π§Ύ Custom ticket fields
- β³ π·οΈ Ticket categories
- β³ π§Ύ A type for every new ticket
- β³ π₯ Assigning tickets to a team, and escalation
- β³ π’ One board across every company
- β³ π Ticket dashboard β Developer Guide
- β³ Mailbox Authentication
- β³ π€ Email send log
- β³ βοΈ Emailed reports
- β³ π Attachment size limits and large emails
-
β³ Basic IMAP mailboxes
- β³ π Basic IMAP without the PHP extension (#257)
- β³ π οΈ Basic IMAP client β Developer Guide
- β³ π§ͺ Basic IMAP client β Testing and verifying
- β³ π οΈ Basic IMAP - Sent copy - Developer Guide (#270)
- β³ π οΈ Verifying a mail folder β Developer Guide
- β³ π οΈ Mailbox providers β Developer Guide
- β³ π οΈ How Gmail mail collection works β Developer Guide
- β³ Email rendering & images
- β³ SLA Management
- β³ WhatsApp channel
-
β³
βοΈ Telegram channel - β³ β CSAT company scope and filters β Developer Guide
- β³ π₯ Microsoft Teams channel
- β³ π¨οΈ Mattermost channel
- β³ π¬ Web chat channel
- β³ π£ Slack channel
- β³ π Linking tickets
- β³ β Record previews
- β³ π Ticket notes: internal or shared
- β³ ποΈ Canned responses
- β³ βοΈ Limiting replies to particular senders
- β³ π¨ Telling the analyst a ticket is theirs
- β³ βοΈ Email signatures
- β³ π The public web address
- β³ π’ Ticket numbering
- β³ π Raising a ticket for someone else
- β³ π Merging tickets
- β³ π Confidential tickets
- β³ π₯ Portal managers
- β³ π Who has seen a ticket
- β³ π Reading long tickets
- β³ β Splitting tickets
- β³ β Selecting several tickets
- β³ ποΈ The folder pane
- β³ π½ Just my tickets, or no closed ones
- β³ π οΈ Snoozing tickets β Developer Guide
- β³ π₯ Collision detection
- β³ β±οΈ Time tracking
- β³ π Case reports - a ticket and its work as one PDF
- β³ π Scheduled work in your own calendar
- Problem Management
-
Tasks
- β³ π οΈ Task board and subtasks β Developer Guide
- β³ π§βπ€βπ§ People on a task ("Involved")
- β³ π Repeating tasks
- β³ π’ Moving a task between companies
- π Projects
-
Assets
- β³ π’ Moving an asset between companies
- β³ π Shared asset locations
- β³ π§βπΌ Assigning assets to analysts
- β³ π Warranty and lease alerts
- β³ π Leases
- β³ π Saved table views
- β³ π¨οΈ Recording anything, and importing it
- β³ π§© Asset type layouts
- β³ π Inventory freshness
- β³ π Linked configuration item
- β³ π Connected assets
- β³ π Asset review
-
β³ π·οΈ QR asset labels
- β³ π οΈ QR asset labels β Developer Guide
- β³ π Asset label designer - design (#229)
- β³ π· Asset scanning β Developer Guide
- β³ π οΈ Asset tag numbering β Developer Guide
- β³ π οΈ Asset reconciliation β Developer Guide
- β³ π οΈ Reconciliation, tags + labels - review (#164)
- β³ π Who holds what, and handover documents
- β³ π₯οΈ The inventory agent (PowerShell)
- β³ ποΈ Proxmox VE servers
- β³ βοΈ VMware Cloud Director servers
- β³ πͺ Hyper-V and Failover Clusters
- β³ π Linking equipment to tickets
- β³ βοΈ Follow-up tasks on a ticket
- Knowledge
- Change Management
- Calendar
- Morning Checks
- Reporting
- Software
-
Forms
- β³ π¨ The form designer β Developer Guide
- β³ π Layout & the grid β Developer Guide
- β³ ποΈ Collections β grouping submissions
- β³ π Submissions as PDFs
- β³ β‘ What happens next β a form's own actions
- β³ π οΈ Sections & conditional logic β Developer Guide
- β³ π οΈ Lookup fields β Developer Guide
- β³ π‘οΈ Catalogue request approvals
- People
- Starters & leavers
- Domains
- ποΈ Files
- Contracts
- Service Status
- π Notifications
- π¨ War Room
- Self-Service Portal
- LMS
- Process Mapper
-
CMDB
- β³ π§± Designing your CMDB
- β³ π οΈ CMDB β Developer Guide
- β³ π οΈ Impact analysis β Developer Guide
- β³ π οΈ Data quality β Developer Guide
- β³ π οΈ Record references β Developer Guide
- β³ π Linked assets
- β³ π Linking an asset to its CI - design (#201)
- β³ π Discovery and redundancy-aware impact - design (#199)
- β³ π οΈ Relationship wording - review (#297)
- Network Mapper
-
Workflows
- β³ π οΈ Workflow engine β Developer Guide
- β³ π οΈ Workflows for tasks β Developer Guide
- β³ π οΈ Workflow notes on a ticket β Developer Guide
- β³ π οΈ Workflow category routing β Developer Guide
- β³ β° Time-Based Triggers
- β³ πͺ Webhooks
- β³ π¬ Webhook Message Formats
- β³ π HTTPS Certificates & CA Bundles
- β³ π οΈ SSL Verification β the Global Setting
- β³ π Workflow & Webhook Pitfalls
- Issue trackers (Jira, Azure DevOps)
- π‘ Zabbix (monitoring)
- π¬ Microsoft Teams alerts
- π 3CX (phone system)
-
System
- β³ π οΈ Preferences β Developer Guide
- β³ π§Ή Maintenance
- β³ βοΈ Emailed reports
- β³ π Finding people in the Analysts list
- β³ πͺ When an analyst leaves
- β³ π οΈ System β Branding β Developer Guide
- β³ π©Ί Page health (D019) β Developer Guide
- β³ β Feature Bingo
- β³ π Locations
- β³ π·οΈ Cost centres
- β³ π Chart of accounts
- β³ π· Photo Album
- β³ Demo Data
- β³ π οΈ Demo Data β Developer Guide
-
Overview
- β³ π Progress tracker
- β³ Concepts & vocabulary
- β³ Email routing & mailboxes
- β³ Settings: global vs per-company
- β³ Users & self-service
- β³ Staff cross-company access
- β³ One company supporting another
- β³ π’ One board across every company
- β³ Worked examples
- β³ Pitfalls & gotchas
- β³ Scope: what it's for
- β³ π οΈ Developer Guide (make a module multi-company)
- β³ ποΈ Case study: CMDB (a linked graph)
- β³ π§ͺ Test harness (prove it's isolated)
- What this is
-
π Bugs resolved
- β³ π #332 Files viewer would not open
- β³ π #333 Note attachments downloaded
- β³ πͺ #326/#327 Form webhook Full record
- β³ π #325 Form PDF download failed
- β³ π Small fixes in 5.1.0
- β³ π CMDB relationships read backwards (5.1.0)
- β³ π #301 CSAT delay was never applied
- β³ π #281 Comments imported from Jira never arrived
- β³ π #288 A change failed to open with Enforce approvals on
- β³ π Long non-Latin articles never got an embedding
- β³ π« #280 Email lookups scanned the whole table
- β³ β #266 Dragging a task told nobody
- β³ π #255 Article previews showed HTML codes
- β³ π #252 A link to a Knowledge article did not open
- β³ π #254 PDFs could not print Polish
- β³ π #250 Clicking a folder left the open article on screen
- β³ π« #260 The dashboard cog did nothing
- β³ π« #248 A department rule never matched on four routes
- β³ π A directory account could be matched to someone else
- β³ π« #244 Reply went to the assigned analyst
- β³ π Mailbox sign-in was not checked
- β³ π Four weaknesses around signing in
- β³ π A lookup answer could name any record
- β³ π« #227 A mailbox could not be deleted
- β³ π« #226 A picture on a note could not be closed
- β³ π» #222 The Assets page never loaded in 4.3.0
- β³ βοΈ #214 A "contains" condition did not match capitals
- β³ βοΈ #216 A workflow email from a chosen mailbox always failed
- β³ π³ The Docker image was missing PHP extensions
- β³ π A failed DNS lookup read as a missing record
- β³ π A link could change data
- β³ π Access outlived its removal
- β³ π Knowledge articles could run scripts
- β³ π Knowledge writes ignored permissions
- β³ π Company boundaries (Oct 2026)
- β³ π Smaller gaps (Oct 2026)
- β³ π Escaped text could leave its attribute
- β³ π Task descriptions were not cleaned
- β³ π Task documents ignored company scope
- β³ π Repeating tasks ignored company scope
- β³ π¬ #183 Mailbox checks overlapped
- β³ π #188 Transfer lock shown off when unknown
- β³ β #184 Subtask names and Overdue
- β³ π§© #186 Teams: the buttons did nothing
- β³ π Text in a change could run script
- β³ π AI settings changed without the AI permission
- β³ πͺ #178 Deleting an analyst failed
- β³ π« A team with no departments showed 0 tickets
- β³ π Projects: adding a phase did nothing on Save
- β³ π Leavers could still sign in
- β³ πΌοΈ Logo and courses broke on Apache with PHP-FPM
- β³ π’ Chat tickets ignored your ticket numbering
- β³ π Dates shown as a dash, or in server time
- β³ π Assets β Users showed people from other companies
- β³ π Restricted analysts could read other modules' data
- β³ πΌοΈ Replies with a picture in the thread failed to send
- β³ π Reply attachments never reached the customer
- β³ π οΈ Outbound email attachments β Developer Guide
- β³ π A global SSO provider was missing from the portal
- β³ π Behind a proxy, the SSO redirect said http
- β³ βοΈ The portal tagline moved when you saved it
- β³ π¨ The portal settings screen forgot what you saved
- β³ π‘οΈ The approvals inbox said "Error" and nothing else
- β³ π A table's answers were missing from the PDF
- β³ β A single-select column let you tick every option
- β³ π The portal ignored a form's field widths
- β³ π The tasks board stopped taking clicks
- β³ ποΈ #121 The index list is out of date after upgrading
- β³ π #133 The calendar subscription was empty
- β³ π #131 Tasks always reopened on the board
- β³ π₯ #129 Every page returned HTTP 500 after upgrading
- β³ π³ #127 A PHP warning above the System page
- β³ π #126 Notes stamped with the server's clock
- β³ π Storing every date in UTC
- β³ πͺ The portal was down for everyone signed in
- β³ βοΈ #120 Workflow notes could never be written
- β³ βοΈ #123 Three errors when running Database Verification
- β³ π #122 The description box was a stub in the corner
- β³ π£ Demo data deleted real accounts
- β³ π #117 Sign-in redirected to the wrong address
- β³ π¨ #108 The priority dot was invisible
- β³ β±οΈ #116 Time logged from the right-click menu
- β³ π #114 API keys refused by our own guard
- β³ ποΈ #110 Assigning a task told nobody
- β³ πͺ #107 Signed out while still working
- β³ π #103 "Share with Requester" reached nobody
- β³ π #102 Search found nothing for hyphens
- β³ πͺ #101 Source code editor opened behind
- β³ βοΈ #88 Subtasks could not be ticked off
- β³ π» #84 Asset deep link selected nothing
- β³ π« #79 A new ticket arrived with no status
- β³ π§ #79 A ticket from email did not say so
- β³ π #78 Bell opened to nothing
- β³ π¬ #77 Mail only collected from Inbox
- β³ π #74 The default password could not be changed
- β³ π¦ #70 Renaming an impact level
- β³ π€ #67 App-only mailboxes could not send
- β³ π #45 Verify only ever worked for Microsoft
- β³ π #45 IMAP reported as not authenticated
- β³ βοΈ An email template stopped escaping itself
- β³ π The portal dashboard showed the wrong time
- β³ π’ The folder said 99 and the list showed 96