diff --git a/README-IMPORTANT.md b/README-IMPORTANT.md new file mode 100644 index 0000000000000000000000000000000000000000..07b4afbda3a5f53d4769e5c6bbdee2c76ec59750 --- /dev/null +++ b/README-IMPORTANT.md @@ -0,0 +1,41 @@ +# Incidencia sobre acceso de usuarios OWNER a vacunas + +Actualmente, los usuarios de tipo `OWNER` deberían poder acceder a las vacunas de una mascota que poseen mediante la siguiente URL: + +``` + +[http://localhost:8080/xcs-sample/rest/api/owner/pet/{petIdentifierType}/{petIdentifierValue}/vaccination](http://localhost:8080/xcs-sample/rest/api/owner/pet/{petIdentifierType}/{petIdentifierValue}/vaccination) + +``` + +He intentado permitir este acceso modificando el archivo `web.xml` en: + +``` + +/rest/target/rest-0.0.1-SNAPSHOT/WEB-INF/web.xml + +```` + +con el siguiente bloque: + +```xml + + + admin + /api/owner/* + OPTIONS + + + ADMIN + OWNER + + +```` + +No obstante, al ejecutar: + +``` +mvn clean install +``` + +el archivo `web.xml` se sobrescribe automáticamente, eliminando los cambios realizados. Esto impide que los usuarios de tipo `OWNER` accedan a la funcionalidad mencionada.