Standalone - Generate proper HTTP response code for permission-errors
authorTim Otten <totten@civicrm.org>
Sun, 25 Jun 2023 08:13:57 +0000 (01:13 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 26 Jun 2023 20:22:05 +0000 (13:22 -0700)
commit02d6ba7d529bc62b3f5759d2a4867b7e4c8f0386
tree6d9027358d8aaff9c0bac3194810128209435d40
parentf50df3f95fb98e8926d06c47297dc27c22ecf725
Standalone - Generate proper HTTP response code for permission-errors

`E2E_Core_ErrorTest` checks for HTTP response codes on permission-errors

* Before: Sends HTTP 200. Tests for `frontend_permission` and `backend_permission` fails.
* After: Sends HTTP 403. Tests for `frontend_permission` and `backend_permission` passes.
CRM/Utils/System/Standalone.php