Skip to content

Conversation

@fredrikburmester
Copy link

Description

Fetch a seerr user by Jellyfin ID. Currently this is not possible and from my understanding makes it difficult for clients to find a user without fetching all users and matching the ID.

To-Dos

  • Disclosed any use of AI (see our policy)
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract

@fredrikburmester fredrikburmester requested a review from a team as a code owner October 19, 2025 19:09
@0xSysR3ll
Copy link
Contributor

You will also need to update the API's documentation to make this work.

@fredrikburmester
Copy link
Author

Thank you I'll do that.

@fredrikburmester
Copy link
Author

Added ✅ @0xSysR3ll

One question though. The user/{userId} endpoint says: "[...] Requires the MANAGE_USERS permission.". This seems inaccurate since it only filters the JSON based on permissions, not block the endpoint completely (401/403). Now, I use the same permissions as that endpoint, but i think it's more accurate to write "[...] Returns filtered data based on the caller's permissions."

Am I misunderstanding how permissions are handled, or is it fine as I've written it?

@gauthier-th
Copy link
Member

Am I misunderstanding how permissions are handled, or is it fine as I've written it?

It's fine like you wrote it, the description from the user/{userId} endpoint is not accurate, it is indeed filtered based on the user permission.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run prettier on this file and fix the formatting issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants