]> git.koha-community.org Git - koha.git/commit
Bug 32350: Use array_minus and ignore nesting
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 25 Nov 2022 10:02:24 +0000 (10:02 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 1 Dec 2022 12:40:47 +0000 (12:40 +0000)
commitabe130e05759787ed2451bd41678a3fed1044faa
tree700d04ad325e3b09b6a2247d7bb053fa005f0341
parent77b22088e5060bcf31d8bc91fb710f3f7b1c642c
Bug 32350: Use array_minus and ignore nesting

Note: Test will be extended in follow-up. This fixes the
module_bit hash to follow the FK path from user_permissions
to permissions to userflags. One step was missed in the
existing test, although it did not fail. The change here
revealed that now.

Test plan:
Run t/db_dependent/TestBuilder.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9b9b8f19200695df168440d47cecc6b947fcebc5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm