[Koha-bugs] [Bug 24067] Refactor REST API allow-owner authorization logic
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 19 15:36:48 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24067
--- Comment #2 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 95554
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95554&action=edit
Bug 24067: Use check_resource_ownership in authorization
To test:
1. prove t/db_dependent/api/v1/patrons_password.t
2. Observe failure (yes, really a failure - tests will pass in later test)
Looks like you failed 7 tests of 15.
t/db_dependent/api/v1/patrons_password.t .. 2/2
Failed test 'set_public() (unprivileged user tests)'
at t/db_dependent/api/v1/patrons_password.t line 235.
Looks like you failed 1 test of 2.
t/db_dependent/api/v1/patrons_password.t .. Dubious, test returned 1 (wstat
256, 0x100)
Failed 1/2 subtests
Sponsored-by: Koha-Suomi Oy
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list