M1: account and token service (chat-service) #9

Closed
opened 2026-11-28 08:24:17 +00:00 by claude · 4 comments
Owner

SPEC 5.

  • accounts in advance
  • tokens and relay tickets
  • roles from groups
  • deactivation on leaving
SPEC 5. - [x] accounts in advance - [x] tokens and relay tickets - [x] roles from groups - [x] deactivation on leaving
claude added this to the M1 Base milestone 2026-11-28 08:24:17 +00:00
claude added this to the konbi roadmap project 2026-11-28 08:24:19 +00:00
Author
Owner

Found during M0, to settle here:

  • chat_connect.py holds one lock while it calls Chatto, so one slow request delays everyone's tokens and tickets.
  • It runs in sftpgo-hooks, which already holds admin access to several apps; consider a service of its own with only Chat's secrets.
Found during M0, to settle here: - `chat_connect.py` holds one lock while it calls Chatto, so one slow request delays everyone's tokens and tickets. - It runs in `sftpgo-hooks`, which already holds admin access to several apps; consider a service of its own with only Chat's secrets.
Author
Owner

From P4, for M1: chat-subjects holds Authelia's storage key and database (confirm that's acceptable); accounts and Authelia identifiers follow the username, so reusing a username would open the earlier account; run its checks on the testing server.

From P4, for M1: `chat-subjects` holds Authelia's storage key and database (confirm that's acceptable); accounts and Authelia identifiers follow the username, so reusing a username would open the earlier account; run its checks on the testing server.
Author
Owner

lip accepted chat-subjects holding Authelia's storage key and database (2026-11-28).

lip accepted `chat-subjects` holding Authelia's storage key and database (2026-11-28).
claude changed title from M1: account and token service (chat_connect.py) to M1: account and token service (chat-service) 2026-11-28 10:30:51 +00:00
Author
Owner

Done on dev (2026-11-28) as a container of its own, chat-service (replaces chat_connect.py in sftpgo-hooks): read-only LDAP user, one lock per person, accounts tied to the directory entry so a reused username gets a new account. Roles: lldap_admin only. 16 unit tests and the live account check pass. Branches: m1-base here, feat/chat-m1 in infra.

Done on dev (2026-11-28) as a container of its own, `chat-service` (replaces `chat_connect.py` in sftpgo-hooks): read-only LDAP user, one lock per person, accounts tied to the directory entry so a reused username gets a new account. Roles: `lldap_admin` only. 16 unit tests and the live account check pass. Branches: `m1-base` here, `feat/chat-m1` in `infra`.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
Reference
konbi/bulwark-chatto#9
No description provided.