fix(templates): radarr/nabarr grants sonarr's importlistexclusion route, not radarr's#95
Merged
nzxl101 merged 1 commit intoJul 12, 2026
Conversation
…endpoint
radarr/nabarr.json includes /api/v3/importlistexclusion and
/api/v3/importlistexclusion/{id}, which do not exist on Radarr — that
route name is Sonarr's ImportListExclusionController
([V3ApiController] with no route override, so it defaults to the
controller name). Radarr's own exclusions controller explicitly
overrides its route to "exclusions" ([V3ApiController("exclusions")]),
which is already correctly granted in this same file.
Confirmed via Radarr/Sonarr source (ImportListExclusionController.cs
in both repos) and via nabarr's own client (l3uddz/nabarr): the Radarr
client only ever calls GET /exclusions, the Sonarr client only ever
calls GET /importlistexclusion — never both on the same arr type.
Removing the dead Sonarr-shaped grant from the Radarr template.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
`radarr/nabarr.json` granted `/api/v3/importlistexclusion` (+ `/{id}`), which doesn't exist on Radarr - that's Sonarr's route name. Radarr's own `ImportListExclusionController` overrides its route to `exclusions`, which this same template file already correctly grants separately.
Verified via both repos' `ImportListExclusionController.cs` route attributes, and nabarr's own client source (`l3uddz/nabarr`) confirming its Radarr client only ever calls GET `/exclusions`, its Sonarr client only GET `/importlistexclusion`.