Passport3 is the member portal of the Liège Hackerspace.
It provides a single, user-friendly interface for members to manage their identity, membership, subscriptions, access rights, and other information related to the hackerspace.
Passport3 acts as a custom frontend for several internal services, including:
- Authentik for authentication and identity management
- Dolibarr for memberships, subscriptions, and payments
- GitHub for requesting access to the hackerspace's organization
- Access control systems for physical access to the hackerspace
- Additional community and member-management services
Passport3 aims to provide members with one central place to:
- View and update their personal information
- Check their membership status
- View current and previous subscriptions, including missing or irregular payments
- Manage authentication and security settings (active sessions, MFA devices)
- Manage badges or access credentials (RFID badge UUID)
- Request access to the hackerspace's GitHub organization
- Choose which information is visible to other members
- Access the member directory and phonebook
- Manage emergency contacts
- View their own permissions and group memberships
- View a history of actions taken on their account, by themselves or by an admin
- Declare an incident or an accident that happened at the hackerspace
- Share the workshop's to-do list: propose, join and follow tasks
- Access payment and accounting information
- View their physical access permissions
- Access future hackerspace services through a unified interface
Authentik is used as the identity provider and authentication backend.
Passport3 provides a custom member-facing interface while relying on Authentik for:
- Authentication
- Single Sign-On
- User identities
- Groups and roles
- Security and session management
Dolibarr is used for administrative and financial membership management.
Passport3 communicates with Dolibarr to retrieve or manage:
- Member records
- Membership subscriptions
- Subscription expiration dates
- Payments
- Invoices and supporting documents
- Administrative membership status
- Personal and professional bank account details (IBAN)
Passport3 lets members request access to the hackerspace's GitHub organization themselves, without going through an admin.
The flow is split into two independent, minimally-scoped credentials:
- A GitHub OAuth App verifies that a member really owns the GitHub account they want to link (read-only identity check, no organization access).
- A GitHub App, installed on the organization with only the "Members: Read and write" permission, is the one privileged credential that actually sends the invitation once identity is confirmed.
A member can only ever link and invite their own account — never someone else's — and can see whether they're already a member, already invited, or neither.
Passport3 provides an interface between members and the hackerspace access-control infrastructure.
Depending on the deployed hardware and configuration, it may support:
- Viewing access permissions
- Managing badges or access credentials
- Requesting or activating access
- Viewing credential status
- Revoking lost credentials
- Synchronizing access rights with membership status
A restricted admin panel (gated behind an Authentik group) lets designated members:
- List and search member accounts, seeing at a glance who has MFA enabled and an emergency contact on file
- Edit a member's profile on their behalf
- Edit a member's trombinoscope visibility and displayed role (short tag and extended role) on their behalf
- See a member's MFA methods
- Manage a member's emergency contacts on their behalf
- Regenerate a member's RFID badge on their behalf
- Create onboarding invitations for new members
- View a full audit history of admin and member actions
Passport3 keeps a log of actions taken through the app, both by admins (editing a member's profile, creating an invitation) and by members on their own account (updating their profile, revoking a session, changing bank info). Each entry records who did what, when, and the before/after values where relevant.
- Admins can browse the log at
/admin/audit, searchable and paginated, with a diff view showing exactly what changed — v1 only covers the 200 most recent events across the whole app, not the full history - Members can see their own account's history on
/profile, including changes made by an admin on their behalf, for transparency - Some fields are deliberately never recorded even as history — emergency contacts (third-party personal data) and the badge RFID UUID (a physical-access credential) are logged as "changed", never with their actual value
- Actions performed directly in another system (e.g. an IBAN edited straight in Dolibarr) aren't captured — only what goes through Passport3 itself
- Writing an entry is best-effort: an already-successful action is never failed just because the log write itself failed. This is an informational log for transparency, not a compliance-grade audit trail with retry/alerting guarantees
- Bank IBANs are logged with their real before/after value (the flagship case this feature exists
for), viewable the same way as any other entry — by admins in
/admin/audit, and by the member themselves in their own/profilehistory. There is no retention limit or purge policy yet
/tasks replaces the post-its on the workshop wall: a shared to-do list for the hackerspace.
- Board or list view, columns À faire / En cours / Fait, plus Bloqué (hidden by default, highlighted when it isn't empty). Filters: "Mes tâches", search, priority, leader. Done tasks leave the board after 30 days
- Drag and drop a card to another column (mouse only): it runs the same actions as the task's buttons, so permissions, history and audit are the same. Dropping on Bloqué opens the task, since blocking needs a note
- Anyone can add a task (title, mini-markdown description, optional due date, priority Bas → Urgent); its author is its owner
- People on a task: members volunteer (participant, can leave any time, also via the "+" on a card) or are put on it by an admin, the owner or the leader (assigné, notified by Mattermost DM, can't leave on their own). One of them can be the leader (★)
- Owner and leader manage the task alongside admins: assign or remove people, block/unblock it, delete it (a leader can't delete a task an admin created). Admin-only buttons are yellow
- Explicit steps: people being on a task doesn't start it — Démarrer moves it to En cours. Bloqué takes a kind (internal/external) and a note on what it's waiting on
- Per-task history and comments in the task's modal; every action is also written to the audit
log, so it shows in
/admin/auditand in the member's own history - Mattermost reminders (hourly check from 9:00 Brussels time): one "due tomorrow" and one "overdue" DM per due date, to everyone on the task (its owner if nobody is); blocked tasks are skipped
- Channel announcements (Admin → Paramètres → Todolist, each off by default): new tasks, done tasks, newly blocked tasks, tasks made urgent (an urgent new task is announced once, as urgent), and a weekly recap (day and hour set there, Monday 9:00 by default) of urgent tasks due within 7 days, overdue tasks and tasks nobody is on, all posted to the chosen channel
- Deep links:
/tasks?task=<id>opens a task; Mattermost messages link there. Passport has no dedicated public-URL setting, so these links use the origin ofAUTHENTIK_REDIRECT_URI— make sure it points at Passport's public address - The homepage lists the member's own open tasks ("Mes tâches")
Planned next: recurring tasks with a rotation between members, peer review of done tasks, a full-screen view / API for the workshop's TV.
The full, up-to-date list (in French) is in ToDo.md.
Passport3 processes personal data belonging to hackerspace members.
The project follows the principles of:
- Data minimization
- Explicit purpose
- Least-privilege access
- User transparency
- Limited retention
- Secure storage
- Member-controlled visibility
Private member information must never be exposed through the directory or APIs without an explicit authorization rule.
docker-compose.yml builds from source (local dev). docker-compose.preprod.yml instead pulls
the image built by CI (.github/workflows/docker-release.yml) from GHCR and runs Watchtower
alongside it to auto-update whenever a new version is released.
The ghcr.io/lghs/passport3 package is public, so no registry login is needed anywhere —
neither on the preprod host nor for Watchtower. After the very first release (the package doesn't
exist in GHCR until then), set its visibility to public once under the repo's Packages tab
(Package settings → Change visibility).
Setup on the preprod host:
docker compose -f docker-compose.preprod.yml up -dReleasing a new version (git tag vX.Y.Z && git push --tags, or gh release create vX.Y.Z)
builds and pushes ghcr.io/lghs/passport3:X.Y.Z and ghcr.io/lghs/passport3:preprod — Watchtower
picks up the preprod tag update within 5 minutes and redeploys automatically.
Passport3 keeps a small PostgreSQL database for data that has no home in Authentik, Dolibarr, or
GitHub — e.g. the audit trail of admin and member actions, the wishlist, the task board, and the
birthday scheduler's settings. docker-compose.yml and docker-compose.preprod.yml both run their own
postgres container (docker-compose.yml's is also reachable from the host on 127.0.0.1:5432,
for pnpm dev running outside Docker; the preprod one is internal-only, never exposed on the
host), backed by its own named volume (passport3-postgres-data) so it survives container
recreation — including a Watchtower-triggered redeploy. Set POSTGRES_USER, POSTGRES_PASSWORD
and POSTGRES_DB in .env (see .env.example) before starting it. This volume now holds real,
non-reconstructible data and needs to be included in whatever backup routine the host already
has — unlike the rest of the container, which was previously fully stateless and disposable.
Back it up with pg_dump, e.g.:
docker exec passport3-postgres pg_dump -U passport3 passport3 > backup.sqlUploaded profile photos live separately, in their own named volume (passport3-data, at
/app/data), under avatars/ (512×512 JPEGs named after the md5 hash of the member's email) —
both volumes need to be backed up, not just the database one. Avatars don't use the database
at all: the file itself says whether a member uploaded a photo, and the colour of their generated
initials is an Authentik attribute (avatar_color), so a Postgres outage never affects them.
Passport is its own avatar service — Gravatar isn't used at all. Avatar URLs are public and keyed
like Gravatar (/avatars/<md5 of the lowercased email>.jpg), and always return an image: the
member's uploaded photo, or else an image of their initials (first two characters of their
username, on a muted background picked from their hash or chosen by the member), generated on
first request with resvg and cached under avatars/generated/.
Responses carry an ETag with Cache-Control: no-cache, so a new photo or colour shows up right
away everywhere, while an unchanged avatar only costs a bodiless 304. Other services can use them
as their avatar source:
- Authentik — System → Settings → Avatars:
https://<passport>/avatars/%(mail_hash)s.jpg - BookStack —
AVATAR_URL=https://<passport>/avatars/${hash}.jpg
The passport3 container runs with a read-only filesystem, no Linux capabilities and
no-new-privileges (see docker-compose*.yml): the avatars volume and a /tmp tmpfs are the only
writable places, and the data directory is readable only by the passport user.
Tables are created by numbered, append-only migrations in src/lib/server/migrations.ts (run
automatically on first connection) rather than by each feature module creating its own table ad
hoc — add a new entry there for a new table instead of a local CREATE TABLE IF NOT EXISTS.
Contributions are welcome.
Passport3 is developed for the Liège Hackerspace community. Issues, suggestions, and pull requests can be submitted through the project repository.
Please do not include personal member data, credentials, API keys, or production configuration in issues or contributions.
Any new feature that mutates a member's account or admin-side data should call logAuditEvent() (src/lib/server/auditLog.ts), the same way every existing action does — see the Audit log section above.
Passport3 is the third generation of the Liège Hackerspace member portal.
The name reflects its purpose: providing members with a single identity and entry point to the hackerspace ecosystem.
