mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-29 09:07:30 +08:00
improvement (metadata): add new metadatas for better display control from the backend handler
This commit is contained in:
@ -433,11 +433,9 @@ func (this LDAP) Save(path string, file io.Reader) error {
|
||||
|
||||
func (this LDAP) Meta(path string) Metadata {
|
||||
return Metadata{
|
||||
CanCreateFile: NewBool(true),
|
||||
CanCreateDirectory: NewBool(true),
|
||||
CanRename: NewBool(true),
|
||||
CanMove: NewBool(true),
|
||||
CanUpload: NewBool(false),
|
||||
HideExtension: NewBool(true),
|
||||
RefreshOnCreate: NewBool(true),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user