Pass X-Okapi-User-Id

Description

Expect to get X-Okapi-User-Id header from mod-auth, and pass it on to all modules invoked.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Heikki Levanto July 27, 2017 at 11:14 AM

That was easy. Okapi already passes all X-something headers around, so that part works out of the box. Declared the new header in XOkapiHeaders, added a test case, and code in test-auth-module to extract the userid from the token, which already carried it.

Heikki Levanto July 26, 2017 at 9:30 AM

This will be needed for mod-comments, where we need to store the user who created the comment. And probably in many other places, including logging and auditing.

Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 26, 2017 at 9:29 AM
Updated July 4, 2019 at 2:41 PM
Resolved July 27, 2017 at 11:14 AM
TestRail: Cases
TestRail: Runs

Flag notifications