Bug 18190

Summary: the "Delete" action on Home › Reports › Guided reports wizard › Saved reports should hide reports rather than deleting them
Product: Koha Reporter: Barton Chittenden <barton>
Component: ReportsAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Barton Chittenden 2017-03-01 15:01:50 UTC
Reports in the 'saved_sql' don't hold sensitive information, and they're not large. It is entirely possible for staff members to accidentally delete reports, which then requires the reports to be restored from backups (assuming that a backup has even been made).

If we could hide the reports rather than deleting them, that would make it easier to recover in this situation.
Comment 1 Katrin Fischer 2017-03-05 10:44:27 UTC
I am not sure about this one. Another idea: Make delete reports a separate permission.
Comment 2 Marc Véron 2017-03-07 10:45:25 UTC
BTW: If you activate syspref ReportsLog, deleted reports are logged including their SQL statment.
Comment 3 Katrin Fischer 2017-03-07 10:54:19 UTC
Good point, Marc! So actually we are already doing this in a way and it's optional.
Comment 4 Katrin Fischer 2018-05-16 23:14:03 UTC
I think the separate permission and the log both help to achieve this. Please reopen if you disagree.