Bug 24074

Summary: Access directory UX improvements
Product: Koha Reporter: Liz Rea <wizzyrea>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, magnus, wizzyrea
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28111
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Liz Rea 2019-11-20 16:42:42 UTC
I noticed a few things about this feature when I was setting it up (which by the way, I LIKE A LOT!!)

- We cannot do subdirectories here. We should allow that?
- Multiple access directories don't show the path, that seems like useful information we should have - either we should pick the directory we want before we see the list, or we should show the path to the file.

An example of a use case would be that a library wants to put their print notices there, but they also put other things in that access directory. They may only want to see the directory that has the notices in it. Currently we can't do that.
Comment 1 Liz Rea 2019-11-20 17:19:58 UTC
Also the ability to delete files from this directory from the UI. >.< that'd be really nice.
Comment 2 Magnus Enger 2022-01-06 09:12:09 UTC
I was thinking maybe we could add a name to the config, something like:

 <access_dirs>
     <access_dir name="Print messages">/etc/koha/sites/koha/print/</access_dir>
     <access_dir name="Misc logs">/etc/koha/sites/koha/logs/</access_dir>
 </access_dirs>

Then in the tool we could show the names as an accordion list or as tabs, and when you click on a name you see only the files belonging to that name.