Skip to content

Commit

Permalink
SAK-46100 ELFinder > disable 'download' button for all entity types e…
Browse files Browse the repository at this point in the history
…xcept resources
  • Loading branch information
bjones86 authored and Miguel Pellicer committed Aug 26, 2021
1 parent f48cbd6 commit f04d7a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void rename(SakaiFsItem src, SakaiFsItem dst) throws IOException {

@Override
public void filterOptions(SakaiFsItem item, Map<String, Object> map) {
map.put("disabled", Arrays.asList(new String[]{"create", "rm", "duplicate", "rename", "mkfile", "mkdir", "search", "zipdl"}));
map.put("disabled", Arrays.asList(new String[]{"create", "rm", "duplicate", "rename", "mkfile", "mkdir", "search", "zipdl", "download"}));
// Disable chunked uploads.
map.put("uploadMaxConn", "-1");
}
Expand Down

0 comments on commit f04d7a3

Please sign in to comment.