Skip to content

Conversation

@fronc
Copy link

@fronc fronc commented Dec 22, 2025

Summary

Fixes a typo in server/lib/watchlistsync.ts where the permission check incorrectly uses AUTO_APPROVE_TV instead of AUTO_REQUEST_TV.

The Bug

// Line 47 - Current (buggy)
[Permission.AUTO_REQUEST, Permission.AUTO_REQUEST_MOVIE, Permission.AUTO_APPROVE_TV]

// Correct
[Permission.AUTO_REQUEST, Permission.AUTO_REQUEST_MOVIE, Permission.AUTO_REQUEST_TV]

Impact

Users with only AUTO_REQUEST_TV permission are incorrectly skipped during watchlist sync because their TV permission isn't recognized by this check.

Fix

Simple one-line change: AUTO_APPROVE_TVAUTO_REQUEST_TV

Related Issues

Testing

Verified that the permission check now correctly recognizes AUTO_REQUEST_TV in the OR condition.

The watchlist sync permission check incorrectly uses AUTO_APPROVE_TV
instead of AUTO_REQUEST_TV, causing users with only AUTO_REQUEST_TV
permission to be skipped during watchlist synchronization.

Fixes sct#4309
@fallenbagel
Copy link
Contributor

Hi 👋🏼

This repo is no longer actively maintained. Could you please transfer this PR over to https://github.com/seerr-team/seerr? (Unless you already have as i can see you said so for another pr).

We’d be happy to review it there 😄

@fronc
Copy link
Author

fronc commented Feb 9, 2026

Hi 👋🏼

This repo is no longer actively maintained. Could you please transfer this PR over to https://github.com/seerr-team/seerr? (Unless you already have as i can see you said so for another pr).

We’d be happy to review it there 😄

Yes! I believe it's already incorporated in this PR: seerr-team/seerr#2245

Thanks!

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.

Watchlist sync permission check uses AUTO_APPROVE_TV instead of AUTO_REQUEST_TV Watchlist auto-request not populating

3 participants