Mark linked identity context as self
This commit is contained in:
parent
d4a13275d0
commit
10ee042c41
2 changed files with 9 additions and 1 deletions
|
|
@ -2225,7 +2225,10 @@ class UserEngineService:
|
|||
correlation_id=correlation_id,
|
||||
application_id=application_id,
|
||||
target_user_id=user_id,
|
||||
context={"include_profile": include_profile},
|
||||
context={
|
||||
"include_profile": include_profile,
|
||||
"self": identity is not None and identity.user_id == user_id,
|
||||
},
|
||||
)
|
||||
identities = self.store.identities_for_user(user.user_id)
|
||||
memberships = self.store.memberships_for_user(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue