Bug 31389 refactored how permissions are calculated for the templates. Today I realized there was 1 missing test to test that all subpermission authorizations are set when the top level permission is set.
Created attachment 142904 [details] [review] Bug 32064: Add test data for all report subpermissions This patch adds test data to prove that all authorizations for subpermissions are set when only a top level flag is set. To test: 0) Apply patch 1) prove ./t/Koha/Auth/Permissions.t
Created attachment 142913 [details] [review] Bug 32064: Add test data for all report subpermissions This patch adds test data to prove that all authorizations for subpermissions are set when only a top level flag is set. To test: 0) Apply patch 1) prove ./t/Koha/Auth/Permissions.t Signed-off-by: David Nind <david@davidnind.com>
Thanks, David :)
Created attachment 142976 [details] [review] Bug 32064: Add test data for all report subpermissions This patch adds test data to prove that all authorizations for subpermissions are set when only a top level flag is set. To test: 0) Apply patch 1) prove ./t/Koha/Auth/Permissions.t Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 22.11. Nice work everyone, thanks!