Skip to content

fix(identities): keep only the id of a former user on the catalogs of others - #34

Merged
BatLeDev merged 4 commits into
masterfrom
feat-identities-cleanup
Sep 15, 2026
Merged

BatLeDev merged 4 commits into
masterfrom
feat-identities-cleanup

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Per-service pass of the identities contract work, guided by the data-fair-identities skill of the lib.

  • bump @data-fair/lib-express to 1.26.0 (secret accepted in the x-secret-key header)
  • deleted department: a department missing from the complete departments list sent by simple-directory was deleted; its catalogs, imports and publications keep the department id but lose departmentName; the UI labels it "Ancien département - " / "Former department - " (owner avatar tooltip, owner filters, activity)
  • delete: created/updated of catalogs, imports and publications only keep the id of a former user; the name is now optional in the schemas and the UI shows "Ancien utilisateur" / "Former user" when it is absent
  • dev: simple-directory calls the identities router directly (the shared router refuses calls that come through the proxy)
  • tests/features/catalogs/identities.api.spec.ts: renames (author, owner, department), department deletion, user deletion, organization deletion

Why: GDPR — a deleted user's name survived on the catalogs of others, and a deleted department kept showing under its old name.

… others

- bump @data-fair/lib-express to 1.26.0 (secret in the x-secret-key header)
- delete: created/updated of catalogs, imports and publications only keep
  the id of a former user; the name is now optional in the schemas and the
  UI labels it "Ancien utilisateur" / "Former user"
- dev: simple-directory calls the identities router directly, the shared
  router refuses calls that come through the proxy
- identities.api.spec covers the renames (author, owner, department), the
  user deletion and the organization deletion
The shared identities router refuses the calls that come through the
proxy, and the other services of the dev environment do not need the
webhooks.
@github-actions github-actions Bot added the fix label Sep 14, 2026
BatLeDev and others added 2 commits September 15, 2026 09:22
…t in the UI

A department missing from the complete list sent by simple-directory was deleted:
catalogs, imports and publications keep the department id but lose departmentName.
The UI shows them as "Former department - <id>" (owner avatar, activity, owner filters).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017hqsZKwijEBoB3m3v9srVD
…n messages

The production build uses the runtime-only vue-i18n: inline messages given to useI18n are
not compiled and the key was displayed instead of the label.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017hqsZKwijEBoB3m3v9srVD
@github-actions github-actions Bot added fix and removed fix labels Sep 15, 2026
@BatLeDev
BatLeDev merged commit acc262f into master Sep 15, 2026
5 checks passed
@BatLeDev
BatLeDev deleted the feat-identities-cleanup branch September 15, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant