Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add photoUrl to the V1MemberUser response #5889

Closed
lovincyrus opened this issue Oct 11, 2024 · 1 comment · Fixed by #5891
Closed

Add photoUrl to the V1MemberUser response #5889

lovincyrus opened this issue Oct 11, 2024 · 1 comment · Fixed by #5891
Assignees
Labels
Type:Feature New feature request

Comments

@lovincyrus
Copy link
Contributor

We need to show the available user's photoUrl in the Users table. Related to #5888

export interface V1MemberUser {
  userId?: string;
  userEmail?: string;
  userName?: string;
  roleName?: string;
+ photoUrl?: string;
  createdOn?: string;
  updatedOn?: string;
}

As a workaround, we retrieve the current user's photo URL using createAdminServiceGetCurrentUser()

export interface V1User {
  id?: string;
  email?: string;
  displayName?: string;
  photoUrl?: string;
  quotas?: V1UserQuotas;
  createdOn?: string;
  updatedOn?: string;
}

This results in situations where users who are not logged in cannot access profiles with photo URLs stored in the database.

image
image

@begelundmuller
Copy link
Contributor

Added in #5891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Feature New feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants