@sap/cds-mtxs
Advanced tools
Comparing version 1.18.2 to 1.18.3
@@ -9,2 +9,8 @@ # Change Log | ||
## Version 1.8.3 - 2024-07-30 | ||
### Fixed | ||
- Scope check for `cds.xt.JobService.enqueue()´ is now more restrictive. | ||
## Version 1.18.2 - 2024-06-24 | ||
@@ -11,0 +17,0 @@ |
{ | ||
"name": "@sap/cds-mtxs", | ||
"version": "1.18.2", | ||
"version": "1.18.3", | ||
"description": "SAP Cloud Application Programming Model - Multitenancy library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/", |
@@ -22,3 +22,4 @@ const cds = require('@sap/cds/lib') | ||
const { 'cds.xt.JobsService': js } = cds.services | ||
return js.enqueue('extend', [new Set([tenant])], [csvs]) | ||
const tx = js.tx({ tenant: tenant ?? cds.context.tenant, user: new cds.User.Privileged() }) | ||
return tx.enqueue('extend', [new Set([tenant])], [csvs]) | ||
} else { | ||
@@ -25,0 +26,0 @@ const { 'cds.xt.DeploymentService': ds } = cds.services |
@@ -54,2 +54,3 @@ const { inspect } = require('util') | ||
}) | ||
super.init() | ||
} | ||
@@ -56,0 +57,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
266422
5043