mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Check permissions to playlist operations
This commit is contained in:
parent
57fcdac428
commit
7fe15134a6
5 changed files with 51 additions and 20 deletions
9
model/errors.go
Normal file
9
model/errors.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package model
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrNotFound = errors.New("data not found")
|
||||
ErrInvalidAuth = errors.New("invalid authentication")
|
||||
ErrNotAuthorized = errors.New("not authorized")
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue