Commit 773e719
fix(templates): radarr/nabarr grants sonarr-only importlistexclusion 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.1 parent 8b2ccef commit 773e719
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
| |||
0 commit comments