Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Add editor token (jeton éditeur unique) for delegation-based API access#2163

Open
skelz0r wants to merge 1 commit intodevelopfrom
feat/editor-delegation-token
Open

Add editor token (jeton éditeur unique) for delegation-based API access#2163
skelz0r wants to merge 1 commit intodevelopfrom
feat/editor-delegation-token

Conversation

@skelz0r
Copy link
Copy Markdown
Member

@skelz0r skelz0r commented Mar 19, 2026

Editors managing multiple client administrations need a single token that, combined with a recipient SIRET, grants access to delegated authorization data — instead of one token per authorization request.

  • Create editor_tokens table (migration + FK validation)
  • EditorToken model: JWT with editor: true flag, rehash/active/expired/blacklisted
  • Admin: create tokens from editor edit page, list with status badges
  • Editor: display tokens table with copy-to-clipboard on delegations page
  • Routes, i18n, factory, and specs

Editors managing multiple client administrations need a single token
that, combined with a recipient SIRET, grants access to delegated
authorization data — instead of one token per authorization request.

- Create editor_tokens table (migration + FK validation)
- EditorToken model: JWT with `editor: true` flag, rehash/active/expired/blacklisted
- Admin: create tokens from editor edit page, list with status badges
- Editor: display tokens table with copy-to-clipboard on delegations page
- Routes, i18n, factory, and specs
@skelz0r skelz0r self-assigned this Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant