Ensure that we only check permissions if we want to in getActions follow up to #26823
authorSeamus Lee <seamuslee001@gmail.com>
Sat, 15 Jul 2023 01:15:30 +0000 (11:15 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Sat, 15 Jul 2023 01:24:03 +0000 (11:24 +1000)
commitda9dfd3a2843163e20a786e4d695dfefa8c4e1b1
tree5e02d60f14c8c36c4a671dceac63152a412b34d4
parentd28ebf945cbafc81de9255c3e45f70d06db9703a
Ensure that we only check permissions if we want to in getActions follow up to #26823

Make it more readable as per coleman
Civi/Api4/Action/GetActions.php
tests/phpunit/api/v4/Action/GetActionsTest.php