mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-17 16:36:49 +00:00
fix: check download permission when sharing permission is enabled (#5875)
This commit is contained in:
parent
860c19ddf5
commit
0f39bd055e
4 changed files with 29 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue