[Koha-bugs] [Bug 14708] The patron set as the anonymous patron should not be deletable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 4 15:27:29 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14708

--- Comment #40 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to David Cook from comment #39)
> (In reply to David Cook from comment #38)
> > I like the idea that the Anonymous Patron cannot be deleted, but I think
> > that this implementation is too narrowly cast. 
> > 
> > I think that we should consider doing Bug 26170 (Create "system" patrons
> > that cannot be (easily) deleted via the web UI) instead of this one, since
> > there are many scenarios where we don't want to be able to delete patron
> > accounts that are important (e.g. SIP patron, REST API patron, etc.)
> 
> Admittedly, I don't have any patches on Bug 26170, and it's not high on my
> priority list at the moment, so I don't see myself working on it any time
> soon.
> 
> Kyle has done all this great work, and really if it could be adapted to be
> more generalizable for all kinds of "system" patrons, that would be amazing.
> It would be a very useful development.

I was actually discussing that as the 'next step' after this development. We
could easily add a 'read-only' flag to a given account and move the
AnonymousPatron logic into a a new Patron method like is_deletable. This would
be especially useful for accounts used for SIP, APIs, and so forth. I would
consider this to be a building block for bug 26170.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list