@7365admin1/core 3.79.1-staging.334 → 3.79.1-staging.335
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/logs/dahua/.6ec119960df5f4d6b0eca28515ba03f28bca7d1b-audit.json +15 -0
- package/logs/dahua/.ddefed381272b698d725b4376425900c8428d7a4-audit.json +15 -0
- package/logs/dahua/combined-2026-09-21.log +0 -0
- package/logs/dahua/error-2026-09-21.log +0 -0
- package/package.json +1 -1
- package/test/vehicle-site-scope.test.mjs +5 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"keep": {
|
|
3
|
+
"days": true,
|
|
4
|
+
"amount": 14
|
|
5
|
+
},
|
|
6
|
+
"auditLog": "logs/dahua/.6ec119960df5f4d6b0eca28515ba03f28bca7d1b-audit.json",
|
|
7
|
+
"files": [
|
|
8
|
+
{
|
|
9
|
+
"date": 1789995497468,
|
|
10
|
+
"name": "logs/dahua/combined-2026-09-21.log",
|
|
11
|
+
"hash": "e9f559a17482c8db46516a98837d06aefb2c89a9a1cced1984c898aac2211687"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"hashType": "sha256"
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"keep": {
|
|
3
|
+
"days": true,
|
|
4
|
+
"amount": 14
|
|
5
|
+
},
|
|
6
|
+
"auditLog": "logs/dahua/.ddefed381272b698d725b4376425900c8428d7a4-audit.json",
|
|
7
|
+
"files": [
|
|
8
|
+
{
|
|
9
|
+
"date": 1789995497455,
|
|
10
|
+
"name": "logs/dahua/error-2026-09-21.log",
|
|
11
|
+
"hash": "d5a28fc0fc6195af7c8ce89e5b17b5b895de405cd4df6ada014a4581ed52eb9a"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"hashType": "sha256"
|
|
15
|
+
}
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -103,9 +103,12 @@ test("both vehicle lists resolve a scope when no site is named", () => {
|
|
|
103
103
|
const asked = controller.match(/const siteScope = site \? null : await entitledSites\(req\);/g);
|
|
104
104
|
assert.equal(asked?.length, 2, "the list and the blocklist both ask");
|
|
105
105
|
|
|
106
|
-
// An explicitly supplied site is still authorised, and never trusted
|
|
106
|
+
// An explicitly supplied site is still authorised, and never trusted -
|
|
107
|
+
// with the See All Vehicles permission.
|
|
107
108
|
assert.equal(
|
|
108
|
-
controller.match(
|
|
109
|
+
controller.match(
|
|
110
|
+
/if \(site\) await requireSiteReach\(req, site, VEHICLE_LIST\);/g,
|
|
111
|
+
)?.length,
|
|
109
112
|
2,
|
|
110
113
|
);
|
|
111
114
|
|