diff options
| author | tv <tv@krebsco.de> | 2026-11-07 22:35:21 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-07 22:35:21 +0100 |
| commit | 7fed3e4478ad28151fab288d569a1268c1f3e4cf (patch) | |
| tree | 1d406a10393b16b7f85295e14b855ca5ac7c741f /src/access/policy.rs | |
| parent | 41657a4d749b1f1d44663ff6504f2e784f091537 (diff) | |
api: signed values at the store
PUT with application/continuum-signed writes an envelope where values
are signed (403/409 saying why); reads open envelopes and name the
signer (x-continuum-signed-by), ?raw=true shows them. Under strict,
unsigned writes reaching a signed value and the users API are 409.
Auth plan M7.
Diffstat (limited to 'src/access/policy.rs')
| -rw-r--r-- | src/access/policy.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/access/policy.rs b/src/access/policy.rs index 8efedff..85b562a 100644 --- a/src/access/policy.rs +++ b/src/access/policy.rs @@ -51,7 +51,6 @@ impl Policy { /// Whether values at the user-signed paths need their users' signatures /// (`values: "signed"`, `access::envelope::signed_paths`). - #[cfg_attr(not(test), allow(dead_code))] pub(crate) fn strict(&self) -> bool { matches!(self, Policy::Enforced { strict: true, .. }) } |
