Skip to content

OI-34 Showing if stewards are taxonomy experts - #237

Merged
sedv8808 merged 1 commit into
productionfrom
develop
Aug 11, 2026
Merged

OI-34 Showing if stewards are taxonomy experts#237
sedv8808 merged 1 commit into
productionfrom
develop

Conversation

@sedv8808

Copy link
Copy Markdown
Collaborator

add taxonomy expert in steward endpoint

Copilot AI lite review requested due to automatic review settings August 11, 2026 00:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds exposure of a steward’s “taxonomy expert” flag on the authenticated steward info endpoint so clients can determine whether the logged-in steward is a taxonomy expert.

Changes:

  • Extend the stewardHandler SQL query to select ti.stewards.taxonomyexpert.
  • Include taxonomyexpert in the /v2.0/apps/orcids/steward JSON response payload with clarifying inline comments.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +345 to +348
// ti.stewards.taxonomyexpert is NOT NULL, so this is only null when the
// join found no steward at all — null means "not a steward", not "a
// steward who isn't a taxonomy expert".
taxonomyexpert: rows[0].taxonomyexpert,
@sedv8808
sedv8808 merged commit 8cea871 into production Aug 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants