# Invitations, Roles and Offboarding

> Assess how people join, change role, leave and delete their accounts, and compare the exports with the documented rules.

Canonical: https://codelivly.com/rooms/invitations-roles-and-offboarding
Last updated: 2026-11-25

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 5 |
| Estimated time | 3 h 25 min |
| XP | 940 |

The account lifecycle does not end at login. People arrive by invitation, change role, get removed and ask for their data to be deleted, and each step has a documented rule. This room checks four of them on the Ledgerline test accounts: invitation and sign up links, the effects of a role change, the revocation of sessions, keys and tokens when a member is removed, and the retention that follows account deletion. You compare timestamped exports and plain traces with the intended behaviour and record the difference. Every lesson has a terminal exercise and scenario questions that need judgment.

## Lessons

1. Invitation and Sign Up Links (40 min)
2. Role Changes and Privilege Change Effects (40 min)
3. Removing Users: Sessions, Keys and Tokens (40 min)
4. Account Deletion and Data Retention (40 min)
5. Guided Lab: Assess the Account Lifecycle End to End (45 min)

## Related

- [Learning path: Authentication, Sessions and Account Lifecycle](https://codelivly.com/learning-paths/authentication-sessions-and-account-lifecycle)
- [All rooms](https://codelivly.com/rooms)
