
Jeppe BandJeppe Bundgaard
3c13892366
Harden subuser permission payloads (#328)
## Summary
- Normalize subuser grant permission payload keys before enum validation
so mixed-case customer-facing writes are accepted and deduped
consistently.
- Add a focused subuser route static check for permission payload
normalization.
## Verification
- `php
services/nginx/app/tests/subusers/SubusersRoutePermissionLinkTest.php &&
php
services/nginx/app/tests/subusers/SubusersRoutePermissionsPayloadTest.php`
- `php -l services/nginx/app/routes/subusersRoute.php && php -l
services/nginx/app/tests/subusers/SubusersRoutePermissionsPayloadTest.php`
---------
Co-authored-by: Jeppe Bundgaard <jb@truckwash.dk>
2026-07-28 17:06:29 +02:00
..
2026-06-30 09:30:43 +02:00
2026-07-27 18:40:40 +02:00
2026-07-22 19:22:17 +02:00
2026-07-13 10:08:00 +02:00
2026-07-22 19:22:17 +02:00
2026-07-22 19:22:17 +02:00
2026-07-17 05:44:16 +02:00
2026-07-28 17:06:29 +02:00
2025-02-05 16:18:52 +01:00
2026-07-28 17:06:29 +02:00
2026-07-17 05:44:16 +02:00
2025-01-29 14:27:44 +01:00
2026-07-13 10:08:00 +02:00
2026-06-08 16:33:37 +02:00
2026-05-20 16:45:50 +02:00
2026-05-19 13:17:07 +02:00
2026-04-13 09:42:35 +02:00
2026-07-09 11:04:13 +02:00
2026-06-01 23:12:00 +02:00
2026-07-17 05:44:16 +02:00
2026-07-27 18:40:40 +02:00
2026-06-08 16:33:37 +02:00
2026-05-18 14:12:03 +02:00
2026-06-08 16:33:37 +02:00