mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(access/viwer): update the viwer filter key to user.id (#8055)
This commit is contained in:
parent
bb48ab00cb
commit
e0f3a8c0a2
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export default class AccessViewerController {
|
|||
throw new Error('User not found');
|
||||
}
|
||||
|
||||
const userMemberships = _.filter(this.teamMemberships, { UserId: user.value });
|
||||
const userMemberships = _.filter(this.teamMemberships, { UserId: user.Id });
|
||||
|
||||
for (const [, endpoint] of _.entries(this.endpoints)) {
|
||||
let role = this.getRoleFromUserEndpointPolicy(user, endpoint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue