ogcore/config/packages
Nicolas Arenas 3d0883a0bd
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/pr-main Build started... Details
fix(ogcore): corregir rutas de firewall y provider de DELETE en OUs
Dos bugs introducidos en fix_permissions:

1. access_control paths incorrectos: nginx elimina el prefijo /api/ antes
   de llegar a ogcore, por lo que las rutas reales son /clients y
   /organizational-units (sin /api/). Las reglas anteriores con ^/api/clients$
   y ^/api/organizational-units$ nunca coincidían.

2. OrganizationalUnitProvider no manejaba Delete: el switch del provider
   no tenía case para Delete, devolvía null implícitamente y API Platform
   respondía 404 a cualquier usuario que intentara borrar una OU.
   Quitando el provider del DELETE, el proveedor Doctrine por defecto carga
   la entidad correctamente y la expresión security: del YAML puede evaluarse.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 11:20:43 +02:00
..
api_platform.yaml Updated ogCore wieh new docu 2025-10-09 10:53:32 +02:00
cache.yaml Add initial set of files 2024-05-16 09:48:47 +02:00
dama_doctrine_test_bundle.yaml refs #377. Creacion de test funcionales para API User 2024-05-27 11:05:03 +02:00
doctrine.yaml refs #452. Migrate clients and hardware profile ended 2024-06-12 12:40:38 +02:00
doctrine_migrations.yaml First commit new symfony project OgCore 2024-05-16 15:23:44 +02:00
framework.yaml update framework to use just one certificate 2026-04-14 12:19:39 +02:00
gesdinet_jwt_refresh_token.yaml refs #387. Crear token y refresh_token 2024-05-22 14:16:54 +02:00
lexik_jwt_authentication.yaml refs #1516. Changed form and global import 2025-02-13 15:42:18 +01:00
mercure.yaml refs #1555. Install Mercure 2025-02-20 16:17:13 +01:00
monolog.yaml Added new endpoint. Disk logs 2026-05-05 18:19:31 +02:00
nelmio_cors.yaml First commit new symfony project OgCore 2024-05-16 15:23:44 +02:00
ramsey_uuid_doctrine.yaml refs #375. Crear modelo de base de datos de Usuario 2024-05-23 15:53:40 +02:00
routing.yaml Add initial set of files 2024-05-16 09:48:47 +02:00
security.yaml fix(ogcore): corregir rutas de firewall y provider de DELETE en OUs 2026-06-16 11:20:43 +02:00
stof_doctrine_extensions.yaml refs #378. Funcionality link organizationalUnit to user. Create organizationalUnit API and migration 2024-05-28 14:19:01 +02:00
translation.yaml refs #512. API Crud views 2024-07-18 08:24:56 +02:00
twig.yaml First commit new symfony project OgCore 2024-05-16 15:23:44 +02:00
validator.yaml First commit new symfony project OgCore 2024-05-16 15:23:44 +02:00
web_profiler.yaml Fixed prod env web_profiler 2025-03-26 08:42:07 +01:00
zenstruck_foundry.yaml refs #381 Crear UserInterface y configurar el security.yaml 2024-05-20 10:51:46 +02:00