we needed the opportunity to hide some subdirs in shared dirs
so we realized that with a file, which you store in the “secret” subdir. the file is called .hideMe.txt, so you can edit it in your browser.
In that file, you put the username or group (each per line), for whom the subdir shoudn’t be visible.
the file .hideMe.txt is only visible for admins
the changes (few lines) in code are only in lib/private/Files/View.php in the method getDirectoryContent()
where should i post the method ?
update: we added a kind of securitygroups which are defined by their names (groupname: sec_…_)
every dir which called like one of the securitygroups, will be hidden, except for members of this group