improvement (metadata): add new metadatas for better display control from the backend handler

This commit is contained in:
Mickael KERJEAN
2019-02-06 23:16:51 +11:00
parent 464abe07b1
commit f0732b69fe
8 changed files with 48 additions and 11 deletions

View File

@ -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),
}
}