mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-03 08:57:53 +01:00
feat(plugins): require users permission for PlaylistProvider and validate owner
PlaylistProvider capability now requires 'users' permission in the manifest (matching existing Scrobbler behavior) and validates that the resolved owner user ID is in the plugin's allowed users list before creating playlists.
This commit is contained in:
parent
657119fcb3
commit
9053a4ffe9
6 changed files with 126 additions and 3 deletions
|
|
@ -2,5 +2,10 @@
|
|||
"name": "Test Playlist Provider",
|
||||
"author": "Navidrome Test",
|
||||
"version": "1.0.0",
|
||||
"description": "A test playlist provider plugin for integration testing"
|
||||
"description": "A test playlist provider plugin for integration testing",
|
||||
"permissions": {
|
||||
"users": {
|
||||
"reason": "Required for playlist ownership"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue