[Koha] How to copy patron permissions?

Eric Phetteplace ephetteplace at cca.edu
Tue Jan 23 08:10:56 NZDT 2024


Hi all,

We use Christopher's "copy permissions" to JS and I just wanted to add a
note for those running into trouble under 23.05: the "save" button has
changed its classes which causes the 20.x version of the script from the
wiki to fail. If you change this line:

$('#pat_member-flags #permissions_toolbar button.btn-default').click();

to

$('#pat_member-flags #permissions_toolbar button.btn-primary').click();


(note change in last selector) then it works again. It's a fabulous tool
and I'm hoping to save others some time troubleshooting!

Best,

ERIC PHETTEPLACE Systems Librarian, Libraries (he/him)

ephetteplace at cca.edu


*CCA is situated on the traditional unceded lands of the **Chochenyo and
Ramaytush Ohlone** peoples.*

Black-owned bookstores in Oakland: Ashay by the Bay
<https://ashaybythebay.com/>, Marcus Books
<https://www.facebook.com/marcus.books/>


:(){ :|: & };:


On Wed, Apr 27, 2022 at 5:09 PM Mike Lake <mikel at speleonics.com.au> wrote:

> Hi
>
> Michael Kuhn notes:
> > As I have written in an earlier post of this thread the current
> > library is trying to avoid non-Koha-standard methods like
> > (ever-changing) external Javascript or plugins.
>
>  From the perspective of a sys admin that needs to maintain and upgrade a
> Koha instance, the minimisation of complex and rapidly changing
> Javascript libraries is more than much appreciated. Javascript libs pull
> in libs that pull in libs and one is then forever patching. Security
> vulnerabilities go up as well. Some amount of Javascript is needed and
> useful for end users but minimising external dependencies is prudent in
> the long term.
>
> Mike
>
> --
> Mike
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list