We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcfa507 + 5aa003a commit e80e929Copy full SHA for e80e929
obp-api/src/main/scala/code/api/util/ConsentUtil.scala
@@ -437,6 +437,8 @@ object Consent extends MdcLoggable {
437
}
438
if (cc.onBehalfOfUser.nonEmpty &&
439
APIUtil.getPropsAsBoolValue(nameOfProperty = "experimental_become_user_that_created_consent", defaultValue = false)) {
440
+ logger.info("experimental_become_user_that_created_consent = true")
441
+ logger.info(s"${cc.onBehalfOfUser.map(_.userId).getOrElse("")} is logged on instead of Consent user")
442
Future(cc.onBehalfOfUser, Some(cc)) // Just propagate on behalf of user back
443
} else {
444
// 1. Get or Create a User
0 commit comments