Skip to content

Setup should detect if Jellyfin account isn't an admin #610

Description

@nicdumz

Description

It turns out that for jellyseerr to work, the user used for setup must be an admin in Jellyfin ("Allow this user to manage the server" permission should be true).

That is however not documented and quite hard to discover, leading to setup issues.

Desired Behavior

The login flow could check for .Policy.IsAdministrator boolean property in the returned object after login (https://api.jellyfin.org/#tag/User/operation/AuthenticateUser), and could abort setup if the provided user is not an admin, returning a user-friendly error message in that case.

Additionally, consider if this requirement is worth documenting in https://github.com/Fallenbagel/jellyseerr#pre-requisite-important, thanks!

Additional Context

No response

Code of Conduct

  • I agree to follow Jellyseerr's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions