Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi e04654052e
Bug 23584: Add the controller method and tests
This patchset adds endpoints for the patrons to change their privacy
settings regarding their guarantors.

The following endpoints are added:

  PUT /public/patrons/:patron_id/guarantors/can_see_charges
  PUT /public/patrons/:patron_id/guarantors/can_see_checkouts

They can only be used by the patron themselves with valid sessions. And
enforce the AllowPatronToSetCheckoutsVisibilityForGuarantor and
AllowPatronToSetFinesVisibilityForGuarantor system preferences when
required.

All this is covered by unit tests.

To test:
1) Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/patrons.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-09-23 10:52:50 +01:00
acqui Bug 23079: Handle invalid timezones when adding/subtracting durations 2019-09-06 13:17:47 +01:00
admin Bug 21852: Add more columns and column configuration to overdues report 2019-09-17 14:51:00 +01:00
api/v1 Bug 23584: Add spec for PUT /public/patron/:patron_id/guarantors 2019-09-23 10:52:39 +01:00
authorities
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
C4 Bug 22837: Update callers to use new signature 2019-09-23 10:51:28 +01:00
catalogue Bug 11529: (follow-up) Fix QA issues 2019-08-05 15:03:19 +01:00
cataloguing Bug 15497: Limit itemtypes by branch in additem.pl 2019-09-12 16:31:06 +01:00
circ Bug 21852: Add more columns and column configuration to overdues report 2019-09-17 14:51:00 +01:00
clubs
course_reserves
debian Bug 23345: Rename include-indexes to exclude-indexes in koha-dump 2019-07-26 16:23:03 +01:00
docs Bug 22128: Add Rudolf Byker to contributors 2019-06-28 14:34:05 +01:00
errors
etc Bug 20954: (QA follow-up) Rename syspref-overrides to syspref_overrides to maintain existing convention 2019-08-13 11:48:12 +01:00
ill Bug 21460: (follow-up) Fix bugs found in QA 2019-04-25 10:46:56 +00:00
installer Bug 6759: DBRev 19.06.00.028 2019-09-13 08:09:49 +01:00
Koha Bug 23584: Add the controller method and tests 2019-09-23 10:52:50 +01:00
koha-tmpl Bug 23605: Fix terminology for branches limitations on patron category admin page 2019-09-23 10:40:38 +01:00
labels
members Bug 14570: Remove wrong parameter in add_guarantor call 2019-08-20 16:06:06 +01:00
misc Bug 21180: Allow Talking Tech outbound script to limit based on patron home library branchcode 2019-09-09 11:32:53 +01:00
offline_circ Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
opac Bug 21390: Send registration verification emails immediately 2019-09-17 14:51:57 +01:00
OpenILS
patron_lists
patroncards
plugins Bug 21073: (QA follow-up) Avoid unnecessary unless/else construct 2019-06-18 17:30:44 +01:00
reports Bug 23390: (follow-up) Quote aliases 2019-08-13 11:46:35 +01:00
reserve Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
reviews
rotating_collections
serials Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
services
skel
suggestion Bug 22905: (QA follow-up) remove bad warn 2019-05-23 14:41:14 +00:00
svc Bug 23390: Introduce placeholder syntax for report column names 2019-08-13 11:46:06 +01:00
t Bug 23584: Add the controller method and tests 2019-09-23 10:52:50 +01:00
tags Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
tmp/modified_authorities
tools Bug 22996: Move barcode separators to a preference 2019-09-10 09:34:34 +01:00
virtualshelves Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
xt
.editorconfig
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 14570: Add about.pl entry for wrong relationship data 2019-08-20 16:06:36 +01:00
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL Bug 17626: Remove existing install instructions and link to the wiki pages instead 2016-11-22 11:29:07 +00:00
Koha.pm Bug 6759: DBRev 19.06.00.028 2019-09-13 08:09:49 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 21907: Fix article requests count for non-superlibrarians 2019-02-04 14:50:40 +00:00
Makefile.PL Bug 21626: (QA follow-up) Embed teams.yaml for debian packages 2019-05-17 14:46:10 +00:00
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
package.json
README
README.md Bug 15465: Fix typo in bugs.k-c.org 2017-05-26 11:45:31 -03:00
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo