mirror of https://github.com/portainer/portainer
fix(access/viwer): update the viwer filter key to user.id (#8055)
parent
bb48ab00cb
commit
e0f3a8c0a2
|
@ -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…
Reference in New Issue