https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36505
--- Comment #11 from Brendan Lawlor <blaw...@clamsnet.org> --- Thanks Tomás! Testing notes: Apply dependencies and patch ```shell git fetch git checkout origin/master -b bug_36505 git bz apply 36505 ``` Enable system preference RESTOAuth2ClientCredentials Create a patron with edit borrowers permissions Get an API authentication token curl --location --request PUT 'http://localhost:8080/api/v1/patrons/21' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer MTcxMjg0OTAyOC00NTc2OTEtMC4yNTUwNzU4MzY0NjM2NS1SbVF0UzdROW1qTDE0b1ViVjJKYXhuSFFlblZLcjY=' \ --data '{ "category_id": "PT", "library_id": "CPL", "surname": "Ballard", "extended_attributes": [ { "extended_attribute_id": "1", "type": "SHOW_BCODE", "value": "1" } ] }' This returns 200 and updates the patron attribute! Run test: kohadev-koha@kohadevbox:koha(bug_36505)$ prove t/db_dependent/api/v1/patrons.t t/db_dependent/api/v1/patrons.t .. ok All tests successful. Files=1, Tests=7, 11 wallclock secs ( 0.03 usr 0.01 sys + 9.11 cusr 0.65 csys = 9.80 CPU) Result: PASS -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/