https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34069
Andrew Fuerste-Henry <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189781|0 |1 is obsolete| | --- Comment #48 from Andrew Fuerste-Henry <[email protected]> --- Created attachment 189940 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189940&action=edit Bug 34069: Add restore_deleted_borrowers permission and new system preference 1. APPLY PATCH, updatedatabase, restart_all 2. Now setup two users for testing, a superlibrarian and a limited permission user. The limited permission should have staff access and the restore_deleted_borrowers (tools) permission. /* SUPERLIBRARIAN */ 3. As superlibrarian, find the 'AllowDeletedPatronRestoration' system preference and enable it. Also make sure BorrowersLog is turned on. 4. Go to Tools -> Restore deleted patrons 5. Read the warning/information about what can and cannot be restored. Ensure it all makes sense. 6. Now we must delete some borrowers, either 1 by 1 or with the batch deletion tool. 7. Back to the deletion tool ( Tools -> Restore deleted patrons ) 8. Search for some of your deleted patrons by any of the critrea available. ( Cardnumber, borrowernumber, first name, surname, category, branch, or date ) 9. Ensure that searching works well. 10. Now bring up a deleted patron, check the checbox to the left and click "Restore deleted patrons" 11. Now you should be able to see the that the patron was restored. 12. Click "View patron" to look at the restored patron record. 13. Go to the action logs and make sure that the restoration was logged. /* LIMITED PERMISSION USER */ 14. Now log in as your limited permission user. 15. Go to Tools -> Restore deleted patrons 16. As a limited permssion user you should only be able to search for deleted borrowers from your branch, or branches in your library group. 17. Repeat all the steps to restore a patron, ensuring everything works. Signed-off-by: Katie Bliss <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
