View or edit on GitHub
This page is synchronized from doc/User-Offboarding.md. Last modified on 2025-12-09 00:30 CET by Trase Admin.
Please view or edit the original file there; changes should be reflected here after a midnight build (CET time),
or manually triggering it with a GitHub action (link).
User Offboarding
For an overview of all systems that a user should be offboarded from, see the Off-Boarding Template on Asana (click "Edit" to see the items).
Below is a sequence of actions we should take to offboard a user from Trase's IT systems:
- DeforestationFree:
- Remove their GitHub username from the whitelist.
This will prevent them making another account if they visit the site again:
sudo tljh-config remove-item users.allowed <github-user> sudo tljh-config reload - Go to https://deforestationfree.com/hub/admin and remove the user
- Delete the Linux user.
(You may wish to backup their files first, if they have any!)
sudo userdel --remove jupyter-<github-user> - Ensure that their public key does not appear in any SSH authorized keys list.
To do this I print out all of the authorized keys and check that I can recognise each one:
cat /home/*/.ssh/authorized_keys
- Remove their GitHub username from the whitelist.
This will prevent them making another account if they visit the site again:
- GitHub:
- Remove from TRASE repository: https://github.com/sei-international/TRASE/settings/access
- Remove from sei-international: https://github.com/orgs/sei-international/people
- Remove from the TRASE team: https://github.com/orgs/sei-international/teams/trase/members
- Visit https://github.com/orgs/sei-international/people/
and double-check they are removed from all repositories
- AWS IAM:
- Find user in https://us-east-1.console.aws.amazon.com/iamv2/home?region=eu-west-1#/users
- Click "Delete"
- (AWS RDS (Trase database):
- Drop the user
REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA main FROM the_user; REVOKE ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA main FROM the_user; REVOKE ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA main FROM the_user; REVOKE ALL PRIVILEGES ON SCHEMA main FROM the_user; ALTER DEFAULT PRIVILEGES IN SCHEMA main REVOKE ALL ON SEQUENCES FROM the_user; ALTER DEFAULT PRIVILEGES IN SCHEMA main REVOKE ALL ON TABLES FROM the_user; ALTER DEFAULT PRIVILEGES IN SCHEMA main REVOKE ALL ON FUNCTIONS FROM the_user; REVOKE USAGE ON SCHEMA main FROM the_user; REASSIGN OWNED BY the_user TO trase_master; REVOKE ALL ON database trase from the_user; DROP USER the_user; - Ensure there are no outstanding personal RDS databases using
trase db ls. If there are, delete them, or also drop the user on those.
- Drop the user
- Slack: make Asana tasks for Rosa to remove from DeforestationFree, Trase Finance, and Vizz
- Google Analytics: go through every analytics account, every property and every view and make sure they are removed
- G-Suite:
- If they have an account at https://admin.google.com/u/1/ac/users, remove it
- If they have an email alias at https://admin.google.com/u/1/ac/apps/gmail/defaultrouting?hl=en, delete it
- Google Drive: see Asana template linked above
- Google Earth Engine: remove from https://groups.google.com/g/trasegis/members
- ObservableHQ: Remove them from "team members" at https://observablehq.com/team/@trase/settings
- Sanity.io (trase-insights CMS): remove from https://manage.sanity.io/projects/n2jhvipv/team
- Netlify.io: remove from https://app.netlify.com/teams/trase/members
- Unito.io remove from https://app.unito.io/#/dashboard/organizations/5f48eb9df79ee4115732a0f8/people/members
- JetBrains/PyCharm: revoke license from https://account.jetbrains.com/assets/subscriptions?customer=5159844&product=PC
- Tableau: revoke license at https://customer-portal.tableau.com/s/my-keys
- Metabase: deactivate user from https://metabase.deforestationfree.com/admin/people
- Carto: see https://sei-international.carto.com/u/p2cs-sei/organization