diff options
| author | tv <tv@krebsco.de> | 2026-11-09 15:26:21 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 18:13:48 +0100 |
| commit | 643aebbbac3089d90a8bb1b015701b6df83bdbba (patch) | |
| tree | 7bf2f9559f9f07dc81482802cd7a14a40480920b /src/document/file.rs | |
| parent | dfea49e0871b78d2b6856eec80c5cd5a7f501dff (diff) | |
access: a shallow read shows only the way through where the user reads partly
Review 4, F4: `?shallow=true` kept every entry the user may at least pass through, and
a shallow read inlines short scalars' values with their types and sizes. A scalar at a
level a `*` passes through (a capability on `data/*/public`, an entry `data/count:
42`) showed its value though no capability covers it; before `*`, only a scalar where
a capability expected a map did.
Now an entry the user may read only partly is shown only as the way through it is: a
map, with no more than its type (not its size, the number of its keys); anything else
there (a scalar, a list, which a deep read leaves out too) isn't shown. Entries it may
read whole are as they were.
Diffstat (limited to 'src/document/file.rs')
0 files changed, 0 insertions, 0 deletions
