Skip to content

Commit

Permalink
fix: adjust attribute names consent plugin #159
Browse files Browse the repository at this point in the history
  • Loading branch information
jgomer2001 committed Dec 7, 2021
1 parent 57e106f commit 773f14c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Map<Client, Set<Scope>> getUserClientPermissions(String userId) {
Set<String> scopeIds = authorizations.stream().map(ClientAuthorization::getScopes).flatMap(List::stream).collect(Collectors.toSet());

//Do the analog for scopes
filters = scopeIds.stream().map(id -> Filter.createEqualityFilter("oxId", id))
filters = scopeIds.stream().map(id -> Filter.createEqualityFilter("jansId", id))
.collect(Collectors.toList()).toArray(new Filter[]{});
List<Scope> scopes = persistenceService.find(Scope.class, persistenceService.getScopesDn(), Filter.createORFilter(filters));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
data-parent="#accordion">
<div class="card-body">
<dl class="mb1">
<z:div class="flex flex-wrap" visible="@load(not empty each.key.oxAuthClientURI)">
<z:div class="flex flex-wrap" visible="@load(not empty each.key.jansClntURI)">
<dt class="w4">${labels.clients.authorized.homepage}</dt>
<dd>
<h:a href="@load(each.key.oxAuthClientURI)" target="_blank">${each.key.oxAuthClientURI}</h:a>
<h:a href="@load(each.key.jansClntURI)" target="_blank">${each.key.jansClntURI}</h:a>
</dd>
</z:div>
<z:div class="flex flex-wrap" visible="@load(not empty vm.getAssociatedPeopleAsCSV(each.key))">
Expand Down

0 comments on commit 773f14c

Please sign in to comment.