Skip to content

Commit

Permalink
changed merge order in Enforcer on filtering .. not being sure which …
Browse files Browse the repository at this point in the history
…the correct order actually is

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Jul 7, 2022
1 parent c6295cc commit 2048afa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -291,7 +291,7 @@ default JsonObject buildJsonView(final ResourceKey resourceKey,
if (isAuthorizationSubjectRelevant) {
final JsonObject inputJsonObject = JsonFactory.newObject(jsonFields);
final JsonObject allowedJsonView = inputJsonObject.get(allowlist);
return JsonFactory.newObject(enforcedJsonView, allowedJsonView);
return JsonFactory.newObject(allowedJsonView, enforcedJsonView); // TODO TJ in which way to merge??
} else {
return enforcedJsonView;
}
Expand Down

0 comments on commit 2048afa

Please sign in to comment.