OHDSI / OHDSI/WebAPI

Job Author shows login name

Open
#2,291 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
151
Forks
183
Avg merge
14m
Merged PRs (30d)
2

Description

Expected behavior

When using security enabled WebAPI, the Jobs page shows Authors as display names rather than login names, as is the case everywhere else in the application.

"/job/execution" shows jobAuthor as the display name.

Actual behavior

The login names are shown instead:

image
Steps to reproduce behavior

Enabled security in WebAPI; the users should have a display name that isn't the same as the login name (webapi.sec_user.login != webapi.sec_user.name). Run any job in Atlas, go to Jobs.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the /job/execution response and the Jobs page, comparing the jobAuthor display name with the login name when security is enabled. Verify the behavior using users whose login and display names differ, then confirm that the Jobs page shows display names as elsewhere in the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.