Check permissions to playlist operations

This commit is contained in:
Deluan
2020-01-21 17:18:46 -05:00
parent 57fcdac428
commit 7fe15134a6
5 changed files with 51 additions and 20 deletions
+9
View 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")
)