@90soft/parse-server-kit 2.14.0 → 2.15.0
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/CHANGELOG.md +28 -0
- package/dist/files/fileAccess.d.ts +28 -11
- package/dist/files/fileAccess.d.ts.map +1 -1
- package/dist/files/fileAccess.js +10 -9
- package/dist/files/fileAccess.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,34 @@ All notable changes to `@90soft/parse-server-kit`.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## [2.15.0]
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`rowAclFileRule` now has two cache windows, and the asymmetry is the point.**
|
|
16
|
+
|
|
17
|
+
2.14.0 used one `maxAge` for every response. Because the ACL decides, clients
|
|
18
|
+
must authenticate EVERY image request — so every image became
|
|
19
|
+
`private, max-age=60`: no shared caching, and a re-download every minute per
|
|
20
|
+
user, each costing a database read and a stream through the application.
|
|
21
|
+
Catalogue images that could be cached for an hour were being refetched on the
|
|
22
|
+
public cadence.
|
|
23
|
+
|
|
24
|
+
Now:
|
|
25
|
+
|
|
26
|
+
| caller | header | why |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| anonymous success | `public, max-age=60` (`publicMaxAge`) | the row is readable by everyone, but a shared cache cannot tell who asked — so the risky window stays short |
|
|
29
|
+
| identified caller | `private, max-age=3600` (`privateMaxAge`) | lives in that one caller's cache alone, and they were allowed to read it a moment ago — so the safe window can afford to be long |
|
|
30
|
+
|
|
31
|
+
Revoking access leaves an identified caller able to re-read their own copy
|
|
32
|
+
for up to `privateMaxAge`. That is a smaller fact than it looks: they have
|
|
33
|
+
already seen the image, and anyone who has seen an image has it on their
|
|
34
|
+
device regardless. Set either to `0` for instant revocation at the price of
|
|
35
|
+
re-downloading.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
11
39
|
## [2.14.0]
|
|
12
40
|
|
|
13
41
|
### Changed — BREAKING (file access rules)
|
|
@@ -186,20 +186,37 @@ export declare function attachOwnedFile(row: Parse.Object, field: string, upload
|
|
|
186
186
|
/** Options for [rowAclFileRule]. */
|
|
187
187
|
export interface RowAclFileRuleOptions {
|
|
188
188
|
/**
|
|
189
|
-
* How long a
|
|
189
|
+
* How long a SHARED cache may hold a publicly readable file, in seconds.
|
|
190
|
+
* Default 60.
|
|
190
191
|
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
192
|
+
* Only ever applied when an ANONYMOUS caller succeeded, which proves the row
|
|
193
|
+
* is readable by everyone. Short, because this is the one window where a
|
|
194
|
+
* revoked file could still be served to somebody who never had access: a
|
|
195
|
+
* shared cache does not know who asked.
|
|
196
|
+
*/
|
|
197
|
+
publicMaxAge?: number;
|
|
198
|
+
/**
|
|
199
|
+
* How long the CALLER'S OWN cache may hold a file, in seconds. Default 3600.
|
|
200
|
+
*
|
|
201
|
+
* Longer than `publicMaxAge` on purpose, and the asymmetry is the point. This
|
|
202
|
+
* response is marked `private`, so it lives in one identified caller's cache
|
|
203
|
+
* and in no shared one — and that caller was, by definition, allowed to read
|
|
204
|
+
* the file a moment ago. Revoking access leaves them able to re-read their
|
|
205
|
+
* own copy for up to this long, which is a far smaller fact than it appears:
|
|
206
|
+
* they have already seen the image, and anyone who has seen an image has it
|
|
207
|
+
* on their device regardless.
|
|
208
|
+
*
|
|
209
|
+
* It matters because clients authenticate every image request — they must,
|
|
210
|
+
* since the ACL decides — so WITHOUT this every image in a signed-in app
|
|
211
|
+
* would re-download on the short public window, each time costing a database
|
|
212
|
+
* read and a stream through the application. Measured consequence of getting
|
|
213
|
+
* it wrong: catalogue images that could be cached for an hour re-fetching
|
|
214
|
+
* every minute, per user.
|
|
195
215
|
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* was refused has nothing stored. And anyone who has viewed an image has it
|
|
199
|
-
* on their device regardless: revocation stops future access, it cannot
|
|
200
|
-
* un-see.
|
|
216
|
+
* `0` disables caching entirely for identified callers: instant revocation,
|
|
217
|
+
* every view re-downloads.
|
|
201
218
|
*/
|
|
202
|
-
|
|
219
|
+
privateMaxAge?: number;
|
|
203
220
|
}
|
|
204
221
|
/**
|
|
205
222
|
* Serve a file only to a caller who can read the row that owns it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileAccess.d.ts","sourceRoot":"","sources":["../../src/files/fileAccess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AAED,4CAA4C;AAC5C,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC;IAClB,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,uDAAuD;AACvD,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAE/B;;;;OAIG;IACH,SAAS,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAA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BAAgB,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAqBjE;AAED,6DAA6D;AAC7D,wBAAgB,kBAAkB,IAAI,cAAc,EAAE,CAErD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAID,6CAA6C;AAC7C,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAW1D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAc7E;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,KAAK,CAAC,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAC,GACtC,OAAO,CAAC,IAAI,CAAC,CAgBf;AAED,oCAAoC;AACpC,MAAM,WAAW,qBAAqB;IACpC;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,OAAO,GAAE,qBAA0B,GAClC,cAAc,CAkDhB"}
|
package/dist/files/fileAccess.js
CHANGED
|
@@ -247,7 +247,8 @@ async function attachOwnedFile(row, field, upload) {
|
|
|
247
247
|
* row's ACL is the whole rule.
|
|
248
248
|
*/
|
|
249
249
|
function rowAclFileRule(options = {}) {
|
|
250
|
-
const
|
|
250
|
+
const publicMaxAge = options.publicMaxAge ?? 60;
|
|
251
|
+
const privateMaxAge = options.privateMaxAge ?? 3600;
|
|
251
252
|
return {
|
|
252
253
|
name: 'row-acl',
|
|
253
254
|
// Every path. A file with no identifiable owner is REFUSED below, not
|
|
@@ -270,19 +271,19 @@ function rowAclFileRule(options = {}) {
|
|
|
270
271
|
* `public` only for an ANONYMOUS success.
|
|
271
272
|
*
|
|
272
273
|
* Reaching here means the row was readable by this caller. If the caller
|
|
273
|
-
* sent no session and still succeeded, the row is readable by everyone
|
|
274
|
+
* sent no session and still succeeded, the row is readable by everyone,
|
|
274
275
|
* so the bytes are genuinely public and a shared cache may hold them.
|
|
275
276
|
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
* to be public, and it is correct when it is not.
|
|
277
|
+
* An identified caller gets `private`: the response may sit in that one
|
|
278
|
+
* user's cache and in no shared one. We cannot tell from here whether
|
|
279
|
+
* their row is public or restricted to them specifically — and a second
|
|
280
|
+
* query to find out is not worth doubling the cost of every image.
|
|
281
281
|
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
282
|
+
* Hence the two windows. `private` is the safe scope, so it can afford
|
|
283
|
+
* to be long; `public` is the risky one, so it stays short.
|
|
284
284
|
*/
|
|
285
285
|
const scope = user ? 'private' : 'public';
|
|
286
|
+
const maxAge = user ? privateMaxAge : publicMaxAge;
|
|
286
287
|
return {
|
|
287
288
|
'Cache-Control': maxAge > 0 ? `${scope}, max-age=${maxAge}` : `${scope}, no-store`,
|
|
288
289
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileAccess.js","sourceRoot":"","sources":["../../src/files/fileAccess.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;;AA2GH,gDAaC;AAQD,wDAYC;AAQD,wDAqBC;AAGD,gDAEC;AAQD,oDAEC;AAqBD,kCAWC;AAUD,8CAcC;AAaD,0CAoBC;
|
|
1
|
+
{"version":3,"file":"fileAccess.js","sour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I,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;YAE/C,MAAM,GAAG,GAAG,MAAM,CAAC,YAAY;gBAC7B,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAC,YAAY,EAAC,CAAC;gBAC3C,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CAC5B,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;YAEpB,IAAI,CAAC,GAAG;gBAAE,MAAM,QAAQ,EAAE,CAAC;QAC7B,CAAC;QAED,OAAO,CAAC,EAAC,IAAI,EAAC;YACZ;;;;;;;;;;;;;;eAcG;YACH,MAAM,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC;YAC1C,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC;YAEnD,OAAO;gBACL,eAAe,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,aAAa,MAAM,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,YAAY;aACnF,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@90soft/parse-server-kit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"description": "Complete decorator-driven development kit for Parse Server — models, cloud functions, triggers, cron, routing, ACL, Swagger, and more.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|