@fluxhub/fluxhub-lib 10.0.62 → 10.0.64

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.
@@ -4873,6 +4873,8 @@ class FHUploadPanelComponent {
4873
4873
  }
4874
4874
  this.ref_allegato();
4875
4875
  });
4876
+ if (this.ruolo_supervisore != "[ZZZ_DIS_CC]")
4877
+ this.access_control = true;
4876
4878
  }
4877
4879
  init(p_app, p_k, p_tipo = "", programma_da_eseguire = "") {
4878
4880
  this.App = p_app;
@@ -5412,12 +5414,15 @@ class win_uploads {
5412
5414
  this.App = "";
5413
5415
  this.K = "";
5414
5416
  this.title = "ALLEGATI";
5417
+ this.admin_role = '[ZZZ_DIS_CC]';
5415
5418
  this.sovrascrivi_path = "";
5416
5419
  if (data != null) {
5417
5420
  if (data.App != null)
5418
5421
  this.App = data.App;
5419
5422
  if (data.K != null)
5420
5423
  this.K = data.K;
5424
+ if (data.admin_role != null)
5425
+ this.admin_role = data.admin_role;
5421
5426
  }
5422
5427
  }
5423
5428
  close() {
@@ -5460,6 +5465,7 @@ win_uploads.decorators = [
5460
5465
  #upc
5461
5466
  [access_control]="access_control"
5462
5467
  [sovrascrivi_path]="sovrascrivi_path"
5468
+ [ruolo_supervisore]="admin_role"
5463
5469
  ></FHUploadPanel>
5464
5470
  </mat-dialog-content>
5465
5471
  <br /><br />
@@ -16659,10 +16665,10 @@ class dati_aggiuntivi {
16659
16665
  this.r_count();
16660
16666
  });
16661
16667
  }
16662
- open_upload(sovra_path = "") {
16668
+ open_upload(sovra_path = "", admin_role = "[ZZZ_DIS_CC]") {
16663
16669
  let dialogRef = this.m_dialog.open(win_uploads, {
16664
16670
  disableClose: true,
16665
- width: "90%",
16671
+ width: "90%", data: { admin_role: admin_role }
16666
16672
  });
16667
16673
  setTimeout(() => {
16668
16674
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
@@ -17432,6 +17438,7 @@ class wkf_header_bar {
17432
17438
  this.respingi_button = false;
17433
17439
  this.procedi_button = true;
17434
17440
  this.force_save = false;
17441
+ this.admin_role = '[ZZZ_DIS_CC]';
17435
17442
  this.button_clicked = new EventEmitter();
17436
17443
  }
17437
17444
  back() { this.button_clicked.emit('back'); if (this.dt_agg != null)
@@ -17447,7 +17454,7 @@ class wkf_header_bar {
17447
17454
  open_commenti() { this.button_clicked.emit('open_commenti'); if (this.dt_agg != null)
17448
17455
  this.dt_agg.open_commenti(); }
17449
17456
  open_upload() { this.button_clicked.emit('open_upload'); if (this.dt_agg != null)
17450
- this.dt_agg.open_upload(); }
17457
+ this.dt_agg.open_upload(this.admin_role); }
17451
17458
  open_wkf() { this.button_clicked.emit('open_wkf'); if (this.dt_agg != null)
17452
17459
  this.dt_agg.open_wkf(); }
17453
17460
  ngAfterViewInit() { }
@@ -17559,6 +17566,7 @@ wkf_header_bar.propDecorators = {
17559
17566
  respingi_button: [{ type: Input }],
17560
17567
  procedi_button: [{ type: Input }],
17561
17568
  force_save: [{ type: Input }],
17569
+ admin_role: [{ type: Input }],
17562
17570
  button_clicked: [{ type: Output }]
17563
17571
  };
17564
17572