fix: check download permission when sharing permission is enabled (#5875)

This commit is contained in:
Ariel Leyva
2026-04-04 09:11:21 +02:00
committed by GitHub
parent 860c19ddf5
commit 0f39bd055e
4 changed files with 29 additions and 2 deletions
+1
View File
@@ -23,6 +23,7 @@ var (
ErrSourceIsParent = errors.New("source is parent")
ErrRootUserDeletion = errors.New("the sole admin can't be deleted")
ErrCurrentPasswordIncorrect = errors.New("the current password is incorrect")
ErrShareRequiresDownload = errors.New("permission to share requires permission to download")
)
type ErrShortPassword struct {