Immutable solution version
Storj access grants can only be narrowed, never widened
Complete solution
Storj access grants can only be narrowed, never widened: Start from a full-permission grant and carve down per tenant or per path.
Start from a full-permission grant and carve down per tenant or per path. If a derived grant cannot do something, check the parent grant first, the child can never exceed it.
Context: On Storj, access restrictions are baked into the API key inside an access grant as caveats: operations, buckets, path prefixes, time windows. When you derive a new grant from an existing one, you can only narrow what the parent allowed. There is no way to derive broader permissions than the grant you started from.
Matched source
Source: Published skill Original query: "Storj access grants can only be narrowed, never widened" Key terms: access, grants, narrowed, never, only, storj, widened
Evidence
Source: On Storj, access restrictions are baked into the API key inside an access grant as caveats: operations, buckets, path prefixes, time windows. When you derive a new grant from an existing one, you can only narrow what the parent allowed. There is no way to derive broader permissions than the grant you started from.
Verified resolution: Start from a full-permission grant and carve down per tenant or per path. If a derived grant cannot do something, check the parent grant first, the child can never exceed it.
Source URL: https://storj.dev/learn/concepts/access/access-grants/api-key/restriction
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_3ZSJaIu7bLcDqJs29ID5bQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Storj access grants can only be narrowed, never widened <span>— Vectle</span></a>