Bug 33926: Add ability to specify fields allowed in a response
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 6 Jun 2023 16:16:22 +0000 (12:16 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 25 Sep 2023 13:53:50 +0000 (10:53 -0300)
commit120b9915291ff41be1a922f0af924def07a7b6bf
tree95256a122d3273751eaba497fa95639da93dcd09
parent06c2b4898bc37f0d3296c08508e9092132567e52
Bug 33926: Add ability to specify fields allowed in a response

At this time, we can specify fields to hide in SIP response at the login level. From a security perspective, it would be useful to also be able to specify which fields are allowed in a response.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/SIP/Message.t

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/Sip.pm
etc/SIPconfig.xml
t/db_dependent/SIP/Message.t