[CORE-416] User parameter precedence change (to allow defaults) Created: 29/Mar/22  Updated: 30/May/22  Resolved: 29/Mar/22

Status: Resolved
Project: i2b2 Core Software
Component/s: PM Cell
Affects Version/s: 1.7.13
Fix Version/s: 1.7.13

Type: Improvement Priority: Major
Reporter: Jeffrey Klann Assignee: Jeffrey Klann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participant/s:

 Description   
This change is meant to allowing user params to take precedence over hive params. Currently, it's the other way around.

Particularly, if you have the situation where you have a large number of users who use an authentication method other than the default basic, but your service account (AGG_SERVICE_ACCOUNT) is using basic then you need to specify a user param for each of your users.

With this change, you can set default authentication params in pm_hive_params for all users, and then set your service account specifically to be authentication_method = 'BASIC'. May seem like a small change, but it would be very welcome not to need to assign params for each new user at our institution.

In the process of making this change, I re-organized basic authentication into its own package and removed some code duplication.

 Comments   
Comment by Reeta Metta [ 30/May/22 ]
will not be tested
Generated at Thu Jul 17 08:58:12 UTC 2025 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.