[Koha-bugs] [Bug 29523] Add a way to prevent embedding objects that should not be allowed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 12 15:54:49 CEST 2023


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

--- Comment #120 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 156965
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156965&action=edit
Bug 29523: WIP - Add support for 'unredact_list'

This work in progress patch adds support for an 'unredact_list' method
to be added at the Koha::* class level allowing for individual classes
to specify which fields they wish to expose to restricted users
regardless.

It drops the type handling as we move from TO_JSON to to_api.. I'm
considering whether we should really be moving both public and redaction
handling into TO_JSON as apposed to to_api... but it adds complication
to the strings mapping

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


More information about the Koha-bugs mailing list