29th / personnel-v3

Personnel management system version 3
https://www.29th.org
2 stars 6 forks source link

Forum profile should link to user's personnel file #214

Open wilson29thid opened 8 months ago

wilson29thid commented 8 months ago

Back in 2021, I wrote a discourse plugin to display 'custom user field' values on user profiles, which would enable linking to personnel files. The problem is our discourse database doesn't have personnel user ids associated with the forum users. So we'd either have to build an integration (and manually update all the existing ones), or create an endpoint in personnel-v3 like /users-by-forum-id/123 that takes you to a personnel file from a forum user ID. Of course not all forum users will have personnel files (e.g. they haven't enlisted).

Suggested more recently by PFC Osaka in this topic.

EDIT: Doesn't Discourse SSO store the personnel system user ID?