Offboarding users in openDesk: account deactivation and data erasure

Deleting an account in the openDesk IAM does not clean up every application by itself. This page explains what to confirm for Matrix chat deactivation and GDPR erasure, when to keep data instead, and what to check in the rest of the suite.

On this page

What offboarding in openDesk changes across applications

Deleting a user in the Nubus IAM starts a cascade that differs by application, so offboarding in openDesk is a checklist across several systems rather than one click. The Matrix chat outcome and the default GDPR erasure of chat data must be confirmed in the target release before you commit to a procedure, because they are the parts most likely to differ from what your policy assumes. Teams need this checklist for three situations: an employee leaves, a contractor reaches a contractual end date, or a data subject makes an erasure request that covers data held in openDesk.

The IAM is only the entry point. Each bundled application keeps its own user records, shares, projects, wiki pages and documents, and it does not necessarily treat a removed identity the same way. Nextcloud, OX App Suite, OpenProject and XWiki each hold content that a leaver may own or co-edit, so content ownership and retention are decisions to make per application. Before go-live, ask ZenDiS or your DeployOpen engineer to walk through the deletion behavior of each application in your exact release, and record what happens to owned files, calendars, projects and wiki pages.

Write the offboarding procedure as a ticket with one row per application, including who receives transferred content and how it is verified. Test the procedure on a dummy account in a non-production environment with the same release, and keep a dated record of the result, since the auditor or data protection officer will ask what was done and when.

How a deleted IAM account reaches each application

The walk starts when an administrator deletes the user in openDesk's Nubus IAM, which is the source of identity for the Keycloak-based IdP. Solid edges mark behavior the openDesk documentation describes. Dotted edges are hand-offs you must verify in your release: whether sign-in stops immediately, whether Element and the Matrix homeserver deactivate the account and erase chat data by default, and what each file, groupware, wiki, project and video application does with its local account. If the user is federated, the upstream identity provider or directory still holds the account, so its status must be handled separately.

Solid edges are documented behavior; dotted edges need checking in your release.

Which offboarding option fits which situation

This table compares the four choices a team faces when a user leaves: keep Matrix history, erase chat data, delete only the IAM account, or disable login upstream first. Read each row against the legal and HR decisions it needs, then confirm each default in the openDesk release you run, because the supplied research does not fix those defaults.

OptionWhat it is forWhat you decide with legal or HRWhat it leaves behind
Deactivate Matrix and keep chat historyKeep conversations available to remaining members when a retention rule or dispute requires the recordWhether a lawful basis and retention period still justify holding the leaver's messages, and who may read themChat history and the account's messages in shared rooms; confirm how the deactivated account appears to others in your release
Deactivate Matrix and erase chat data (default GDPR erasure)Remove the leaver's personal chat data once no legitimate purpose remainsConfirm with the data protection officer that erasure meets your retention schedule and any legal hold before deletion startsLittle or no personal chat data, provided erasure covers all rooms; confirm which copies, backups and federated servers keep content
Delete the IAM account onlyRemove the person's login and access quickly while leaving application data untouched for later handlingWho owns the leaver's files, mailboxes and wiki pages, and who takes over those items and within what timeframeApplication accounts, files, mailboxes, shares and Matrix data may remain; check each application separately because the IAM deletion does not describe their fate
Disable login at the upstream directory firstStop access at the source of truth before the account is deleted in openDesk, which keeps federated and directory-synced users consistentHR must confirm the exit date and the sequence, so the leaver cannot sign in during the handover windowEverything in openDesk until the IAM record is removed or synced; confirm how the Directory Importer or federation handles a disabled source account in your setup
Hand over data before any deletionMove files, projects and mail to a manager or successor so deletion does not destroy business recordsBusiness owners, records managers and HR agree the list of items and the recipient before the leaver's last working dayTransferred content under the new owner; anything not transferred stays with the original account until you confirm its fate
Retain records for an audit or disputeKeep evidence of access and actions after the person has leftLegal counsel sets the retention period and the authorized reviewers for any retained logs or dataAudit logs and retained content, which need their own access control and deletion date; confirm where logs are stored in your deployment

How Matrix account deactivation and chat erasure work

Deactivating a Matrix account on a Synapse-based homeserver means the user can no longer log in, but the user ID itself remains registered and is not reused. What happens to the user's rooms and messages depends on the erasure setting applied at deactivation. Without erasure, the account's message history stays in the homeserver database and in the rooms the user joined. With erasure, the homeserver removes the user's personal data so that the stored messages no longer show the account's content in the way the client would display them. The erasure flag is the decision that determines what remains, so the reader must confirm its exact name, default value and behavior in their openDesk release and their Element version before the first offboarding.

Under the GDPR, the organization operating the chat service is the controller and remains responsible for personal data it holds, including chat content. The working principle is that personal data is kept only as long as it is needed for the purpose it was collected for. Retaining a former employee's messages may be justified for records or legal holds, but that justification must be written down. Record the default erasure behavior, the exceptions and who approved them, and align the decision with your retention schedule and the legal basis for keeping chat data. Confirm this with your data protection officer, since the legal analysis depends on your sector and jurisdiction.

Erasure in one homeserver does not reach copies held elsewhere. Messages a user already sent to rooms shared with users on other servers may persist on those federated servers, and openDesk does not control their retention. Check whether your deployment federates at all, using the federation domain allowlist in Synapse, and if it does, assess which external servers hold rooms the departing user was in. Include that residual exposure in the documented decision, and tell affected partner organizations if your policy requires it.

Keeping or erasing chat data for different leaver cases

For a standard leaver with no retention obligation or legal hold, the default is to deactivate the account and erase its chat data. The decision still belongs to the organization, so confirm the default with your data protection officer and HR before the deletion is scheduled, and make sure the leaver's manager has confirmed that no open work depends on those conversations.

  • Decide the default: Confirm that the standard erasure of chat data applies to this role and that no business record must be kept in Element.
  • Sign-off: HR confirms the leaving date and the data protection officer confirms the erasure approach for this category of account.
  • Record before deletion: Note the account identifier, the leaving date, the approver and the systems in which the person held accounts.
  • Check shared content: Identify rooms the leaver administers so ownership can be handed over before the account goes.
  • Confirm the erasure scope: Check what your deployment's documentation says about chat data removal and what remains in other applications.

Before deletion, check that the leaving record is complete and that no other application still depends on this identity.

What to check in each other application after deletion

Deactivating a user in the openDesk IAM does not automatically settle everything that person created or shared elsewhere. Each application keeps its own content, shares and sessions, so the offboarding checklist needs a pass per application. The checks below cover the items most likely to outlive a leaver's account, and each one should be confirmed against the release you run.

File storage in Nextcloud

Files and folders owned by the leaver stay in their storage after the account is removed, and public or internal share links they created may keep resolving. Check which shares the leaver owns, decide whether ownership of key folders moves to a manager, and confirm that shared links to sensitive content are revoked or re-issued. Also confirm how the leaver's storage is handled under your retention rules before any deletion step runs.

openDesk deployment README

Groupware and mail in OX App Suite

Calendars, contacts and shared folders owned by the leaver can disappear with the account or stay attached to invitations that other people still rely on. Check mailbox handling, any forwarding or auto-reply set up by the leaver, and whether meetings they organized need a new organizer. Confirm with your mail configuration whether the mailbox is kept, archived or removed, and who receives mail sent to the old address.

Wiki pages in XWiki

Pages created by the leaver usually remain in the wiki, but their authorship, edit rights and any pages that exist only in the leaver's personal space need a deliberate decision. Check which knowledge base pages depend on that person, move ownership of key spaces to a named team, and review any page-level or space-level rights granted to the leaver directly. Confirm how the release you run treats attribution for deleted users.

Projects and work packages in OpenProject

Work packages, projects and tasks assigned to the leaver can stay assigned to an account that no longer signs in, which stalls delivery without any visible error. Reassign open work packages, transfer project ownership and check that no project depends on the leaver as its only administrator. Confirm in your release how assignments and watchers of a deactivated user appear in reports.

Notes, CryptPad and diagrams

Documents in Notes and CryptPad can be shared through links that work without an openDesk login, so an account deletion does not necessarily close them. Check which notes and pads the leaver created and shared externally, and rotate or revoke links to anything sensitive. Diagrams made with diagrams.net inside these tools need the same review, and you should confirm where each tool stores its content.

Video and residual sessions in Jitsi

Jitsi meeting access depends on how authentication is configured in your deployment, and a meeting link shared by the leaver may still be usable by people outside your organization. Check which recurring meeting links the leaver created and rotate those that others depend on. Across all applications, confirm that existing sessions, app tokens and API tokens issued to the leaver end when the account is deactivated, rather than when they expire.

Offboarding runbook for an openDesk leaver

This sequence takes a leaver from confirmed departure to a recorded outcome across the IAM, Matrix chat and the other openDesk applications. It produces an evidence trail that shows what was disabled, what was retained or erased, and who decided.

  1. Confirm the leaver and effective date with HR

    Ask HR to confirm the person's identity, the last working day and any change in role that affects access before anything is changed. The owner is the IAM administrator, working from an HR record rather than an email request. Done means the leaver's username, the effective date and the approving HR contact are written into the offboarding ticket. Check that the username in the ticket matches the account in the IAM exactly, because a similar name can belong to another colleague.

  2. Disable upstream login if federated or synced

    If the account comes from an external identity provider, from an LDAP or Active Directory source through the Nubus Directory Importer, or from another synced source, disable the account at that source first. Otherwise the upstream system may keep issuing logins, or the next import may recreate the access you removed. Confirm with your identity team which system is authoritative for this user. The check is a failed login attempt through the upstream provider, and no new session for the leaver in the openDesk portal after the change.

  3. Record the retention decision with legal or the DPO

    Before deleting anything, agree with legal counsel or your data protection officer whether the leaver's chat and other content must be kept, erased or handed over. openDesk's default for Matrix chat data is erasure under GDPR, while keeping data is a configured choice that must be documented. Record the decision, the legal basis you rely on and the person who approved it. The output is a signed-off retention note attached to the ticket, which the later checks refer back to.

  4. Transfer ownership of shared content

    Identify files, projects, wiki pages, calendars and chat rooms the leaver owns or administers, and move ownership to a named colleague in each application. Do this before the account is removed, because some content may become inaccessible or be removed with the account. The exact steps differ per application and release, so confirm them against the documentation for your installed version. Done means a list of transferred items with the new owner recorded, and a spot check that the new owner can open a sample of them.

  5. Deactivate or delete the IAM account

    In the Nubus IAM, deactivate the account or delete it, following the option your retention decision requires. Deletion is the step that triggers the default Matrix deactivation and erasure described on this page, so make it only after the earlier steps are complete. The exact clicks depend on the release and deployment. The check is that the account no longer appears in the user list or shows as disabled, and that a login attempt with the leaver's credentials is refused.

  6. Verify Matrix deactivation and the chat data outcome

    Confirm that the Matrix account is deactivated on the homeserver and that the chat outcome matches the retention note: erased under the default, or retained as decided. Check that the leaver cannot log in to Element and that their rooms show the expected membership state. Ask your platform team to confirm from the homeserver how the erasure behaves for messages already sent to other servers in federation, since that depends on the deployment. Record the result against the retention note.

  7. Check each application for remaining access and content

    Work through every openDesk application the leaver used, including files, groupware, wiki, project management, video and the web office, and confirm that the account cannot sign in and that no content remains tied to it. Look for shared links, calendar invitations, external shares and application-local administrator rights, since these live inside each application rather than in the IAM. Keep a short table with one row per application and a pass or fail mark, so gaps are visible to the next reviewer.

  8. Record evidence and close the ticket

    Collect the evidence that shows what was done: the HR confirmation, the upstream disablement, the retention note, the ownership transfer list, the IAM change log, the Matrix result and the per-application table. Store it where your compliance team can retrieve it. Close the ticket only when every row is complete. Ask your compliance lead which evidence format your frameworks expect, because openDesk does not issue attestations for this process.

Security risks that survive a deleted account

Deleting a user in the openDesk IAM does not automatically close every path that user had into the workplace. Federated identity providers, sessions held by individual applications, shared links, privileged groups and audit trails each need their own check. The cards below cover the places where access or data can persist after the account is gone.

Upstream identity provider still accepts the leaver

If openDesk federates with your organization's identity provider over OIDC, the leaver's login may still succeed upstream, and openDesk may create or match the user again on the next sign-in. Disable the account in the source directory first, or in the same change window as the IAM deletion. Then test with a disabled test user that sign-in fails. Confirm with your administrators how the federation matches users by username or another attribute, so a recreated account cannot silently take over an old identity.

Federation docs

Sessions and tokens in applications

An account deletion in the IAM does not, as far as the supplied documentation shows, end sessions or tokens that applications already issued. Browser sessions and API tokens held by individual applications can remain valid until they expire or are revoked there. Ask the openDesk team to confirm how each application handles session invalidation after an IAM deletion, and test it: sign in as a test user, delete that user, then check whether the existing browser session and any issued token still work.

Shared links and external guests

Files, documents and project items shared by the leaver may remain reachable through public links or as guest access to colleagues' content, depending on the application. Public links are often not tied to the account that created them, so deleting the owner does not remove them. Before the deletion, list the leaver's shares in each file and collaboration application, transfer ownership of important content to a colleague, and remove public links that are no longer needed. Check afterwards that the old link URLs return no content.

Admin accounts left in privileged groups

A leaver who held an administrator role, or membership in the Domain Admins group, must not leave any privileged access behind, including delegated application administration. Confirm which groups the account belonged to and whether any application-level admin rights were granted outside the IAM. Remove the account from privileged groups before deletion, and review group membership afterwards to confirm no orphaned or shared admin credentials were left behind. Record who approved the change.

Service and shared credentials

Accounts that the leaver used for automation, API keys, mail forwarding rules, calendar subscriptions or personal access tokens may keep working after the person leaves. These credentials often live outside the IAM record and are not removed when the user is deleted. Inventory them for the leaver, rotate any secret the person knew, and remove forwarding rules that send mail to a personal address. Verify by attempting each integration with the old credential after rotation.

Audit logs kept while personal data is erased

Audit logs are often needed for investigations and incident response after a departure, yet they contain the leaver's identifiers. Decide the retention period with your data protection officer and legal team before the erasure runs, and document the lawful basis for keeping log entries. Confirm with the openDesk team which logs keep user identifiers, whether they can be pseudonymized, and where they are stored. Verify that the retained logs are access-restricted and that erasure requests do not remove the entries needed for investigations.

Questions buyers ask about openDesk offboarding

How much effort does a consultant-led openDesk offboarding design take?

The effort depends mainly on how many applications hold user data, whether accounts are federated from an external identity provider, how many retention rules apply, and how much shared content each leaver owns. A single-site deployment with a short list of applications and one retention rule is a small design task. Federation, legal holds and large volumes of shared files add review cycles with legal, data protection and application owners. Ask for a written scope that lists each application, the deletion and retention decision for each, and the test cases you will sign off before go-live. No fixed figure applies across deployments, so confirm the estimate against that scope.

Can our own team design and run openDesk offboarding without a partner?

Yes, a team with IAM and application administration skills can write and run a documented offboarding checklist. The checklist should cover disabling the account in the IAM, the effect on Matrix account deactivation and chat data erasure, the choice to keep or erase data, and a check of each other application for shared files, projects and wiki pages. The work becomes harder when legal holds must override erasure, when accounts come from an external identity provider that must also be disabled, or when retention rules differ between user groups. In those cases, an outside review of the design is often worth the cost, and you should confirm the exact behaviour in the release notes for your version.

What does the offboarding work need from our team?

You need administrator access to the IAM, administrator access to each application that stores user data, and a named decision owner who sets the retention rule for leavers. The decision owner typically sits in legal, data protection or HR, and must approve whether chat and other personal data are erased by default or kept. Your team also needs a test account to rehearse the process in a non-production environment, plus a record of which applications your organization uses, so that no store is missed. Agree who receives the leaver's shared content, such as files and projects, before the first real offboarding.

Can an erased openDesk account or its chat data be restored?

You must confirm this yourself with the release notes for your installed version and with your backup procedure. Erasure of chat data is the default GDPR behaviour, so treat it as final unless your own tests show otherwise. Check which backups exist for each data store, how long they are kept, and whether deleted data remains in them. If restoring a deleted account is a requirement, decide that before go-live and test the restore path in a non-production environment rather than relying on assumptions.

How does offboarding relate to our GDPR obligations?

Under the GDPR, the controller decides how personal data is handled when a user leaves, and must be able to show how that decision was made and applied. The regulation requires security of processing (Article 32) and sets controller and processor duties in Chapter IV, but it does not require an audit, attestation or certificate for offboarding. Certification under Article 42 is voluntary and does not reduce your responsibility. Document the retention rule, the erasure steps, the owner of each step and the evidence you keep, such as a completed checklist. Confirm the applicable national rules and your data protection officer's requirements, since supervisory authorities enforce the regulation.

What should the offboarding checklist cover for applications other than chat?

Each application that stores user content needs its own check, because disabling the IAM account does not transfer or delete files, projects, wiki pages or calendar entries. Confirm, for every application in use, what remains after the account is disabled, who takes over shared content, and whether any deletion step is needed. Also check group memberships, application-specific permissions and any external accounts that the leaver could still use. Record the result for each application so that the decision owner can sign off on the full list.

Limits to confirm in your openDesk environment

The supplied research does not describe the offboarding behavior in detail, so the items below are open questions rather than settled facts. Each one changes what a deleted account leaves behind, so confirm them against ZenDiS documentation for your deployed version and with a test account before you write an offboarding procedure.

Erasure default and flag names

Confirm the exact default for erasing chat data on account deletion, and the name of the setting that switches it off, in the release you run. The latest supplied release is v1.19.1, so check the configuration reference for your deployed version rather than assuming the same keys carry over from earlier or later releases. Record the setting name and its value in your change log, because an upgrade can rename or move it.

openDesk releases

Deletion of federated users

Find out whether a user who signs in through federation is deleted from the openDesk IAM or only locked. The answer depends on whether the account is created by the directory import, by OIDC federation or by ad-hoc provisioning, and it decides whether the upstream directory or openDesk is the place to remove access. Test each path with a disposable account, because a user removed upstream may still hold an active local identity.

IdP federation docs

Element and homeserver deployment

Confirm how Element and the Matrix homeserver are deployed in your edition, including which component holds the user records that deactivation must reach, and whether the Enterprise admin tooling can run the deactivation. Check whether the deactivation runs through the IAM event or needs a separate step in the chat service. Note the homeserver name, because it is part of every Matrix user ID that remains in other people's rooms.

Enterprise Edition docs

Messages already federated

Determine what happens to messages a user sent to rooms hosted on other organizations' servers before deactivation. Erasing chat data on your side does not automatically remove copies that federated servers already hold. Ask ZenDiS and your own legal team how deactivation is handled across federation, and document the answer for your records of processing so your privacy notice matches what the system does.

Backup retention of deleted data

Check how long backups of the chat database, file storage and groupware data keep copies of a deleted user's information, and whether a restore could bring a removed account back. Confirm the backup schedule and retention for each data store with your operations team, and decide how restored accounts are blocked from access. The openDesk backup procedure should state this explicitly, not leave it to the operator to infer.

Other applications keeping data

Verify how each remaining application handles a deleted account: files and shares in Nextcloud, documents in XWiki, tasks in OpenProject, mail in OX App Suite and shared content in CryptPad. Each application may keep content under its own owner or a shared space even after the IAM account is gone. Run a test account through the full workflow and list every place the user's name or content still appears.

How DeployOpen scopes and delivers openDesk offboarding

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including openDesk. For offboarding, that means defining in writing how account deactivation, Matrix handling and data erasure should work for your retention rules, then building and verifying that process in your deployment.

How we scope

  • Inventory which openDesk applications hold user data and where each one keeps it, including chat, files, groupware and wiki.
  • Agree with your privacy and records owners whether chat data is erased by default or kept, and document that decision in the written scope.
  • Confirm how accounts arrive (directory import, federation or ad-hoc provisioning) so leaver handling matches the source of truth.

How we build

  • Configure and test the deactivation path in the Nubus IAM, including the Matrix account deactivation and the erasure setting you chose.
  • Test a leaver scenario end to end in a non-production environment, checking each application for remaining accounts, shares and content.
  • Set up the procedure for data the organization must keep, such as records or mail, so retention is applied deliberately rather than by default.

How we hand over

  • Deliver a written offboarding runbook covering IAM steps, per-application checks and who signs off on erasure requests.
  • Provide test evidence from the leaver scenario, listing what was verified in each application and what remained as an open item.
  • Train your administrators on the runbook and record which steps remain with your team after handover.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer, which can cover re-testing offboarding after openDesk releases.
  • Ask for a written quote based on your scope. DeployOpen does not publish a price list, and the quote follows from the agreed scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.