IF Commons GitHub

models/identity-delegation/mod

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0039-identity-delegation FR-001, 0039-identity-delegation FR-002

Delegation as a module (commons data 0039-identity-delegation): one principal acting on behalf of another, for any kinds of principals, with attenuation. A delegation can only pass on a subset of what its delegator holds, can only narrow the condition of its parent, can only be shorter than its parent, and can only be re-delegated fewer times. What a delegate may do is derived from the chain at the time of the decision, so that revoking a delegation ends everything below it at once.

Source: commons/data/models/identity-delegation/mod.ts

1 of 4 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

delegationStatusconstno test imports it
const delegationStatus: CodeList<string, string>

One principal acting on behalf of another, for a time and for some permissions, never more than the one above it.

delegationconstno test imports it
const delegation: AnyConcept

One principal acting on behalf of another, for a time, for some permissions: attenuated at every step.

delegationPermissionconstno test imports it
const delegationPermission: Concept<"delegationPermission", {}, { readonly delegation: Relationship<"one", AnyConcept | (() => AnyConcept)>; readonly permission: Relationship<"one", AnyConcept | (() => AnyConcept)>; }, "delegation" | "permission">

A permission that a delegation passes on.

identityDelegationModuleconst
const identityDelegationModule: Module

One principal acting on behalf of another, with attenuation.

Imported by 25 tests of the run (25 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.