utn-cli 2.1.33 → 2.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utn-cli",
3
- "version": "2.1.33",
3
+ "version": "2.1.34",
4
4
  "description": "Herramienta CLI unificada para la gestión de plantillas en SIGU.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -191,16 +191,16 @@ class Miscelaneo {
191
191
  (@`SiguientePermisoId`, ?, ?, ?, NOW(4), USER()) ON DUPLICATE KEY UPDATE `LastUser` = USER(), `Nombre` = ?, `Descripcion` = ?;"
192
192
  , [Permiso, this.NombreCanonicoDelModulo, Descripcion, Permiso, Descripcion]);
193
193
 
194
- // Asginación inicial de permisos
195
- if (this.UsuariosConAccesoInicial.length > 0) {
196
- const PermisoExtraIdValor = await this.PermisoExtraId(Permiso);
197
- this.UsuariosConAccesoInicial.forEach(async (dato) => {
198
- await ejecutarConsultaSIGU("INSERT INTO `SIGU`.`SIGU_PermisosExtraPersonasV2` VALUES (?,\
199
- (SELECT `Identificador` FROM `SIGU`.`SIGU_Personas` WHERE `Identificacion` = ?), NOW(4), USER())\
200
- ON DUPLICATE KEY UPDATE `LastUpdate` = NOW(4)"
201
- , [PermisoExtraIdValor, dato]);
202
- });
203
- }
194
+ // // Asginación inicial de permisos
195
+ // if (this.UsuariosConAccesoInicial.length > 0) {
196
+ // const PermisoExtraIdValor = await this.PermisoExtraId(Permiso);
197
+ // this.UsuariosConAccesoInicial.forEach(async (dato) => {
198
+ // await ejecutarConsultaSIGU("INSERT INTO `SIGU`.`SIGU_PermisosExtraPersonasV2` VALUES (?,\
199
+ // (SELECT `Identificador` FROM `SIGU`.`SIGU_Personas` WHERE `Identificacion` = ?), NOW(4), USER())\
200
+ // ON DUPLICATE KEY UPDATE `LastUpdate` = NOW(4)"
201
+ // , [PermisoExtraIdValor, dato]);
202
+ // });
203
+ // }
204
204
  }
205
205
 
206
206
  async PermisoExtraId(Permiso) {