fix: check download permission when sharing permission is enabled (#5875)
This commit is contained in:
1 parent
860c19ddf5
commit
0f39bd055e
4 files changed
+29
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user