[Koha-bugs] [Bug 26170] Create "system" patrons that cannot be (easily) deleted via the web UI
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 10:02:09 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26170
--- Comment #14 from Magnus Enger <magnus at libriotech.no> ---
I'm in MVP mode here, so my preferred approach would be to do a simple solution
that covers the basics. And then we could elaborate later. So my suggestion
would be:
- A "protected" flag on the patron (borrowers.protected, for example), editable
in the same way as other patron information
- Disable the More > Delete menu item on the patron detail page, based on the
flag
- Make sure protected patrons are handled properly by functions such as
-- Koha::Patron::delete
-- Koha::Patron::merge_with
-- Koha::Patron::move_to_deleted
-- Koha::Patron::safe_to_delete
-- Koha::Patrons::delete
-- C4::Members::GetBorrowersToExpunge
Then we could enhance this later with things like:
- A permission for changing the protected flag on a patron
- A syspref for altering what protected means, like enabling More > Delete, but
displaying a simple warning or making the protected attribute un-editable once
it has been set (and we could discuss these options later, of course).
- Enabling batch edit of protected status
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list