openvibers/openvibe.network Commits
Network: Watch may use project secrets (network.secret.use default grant) (#198)
Changes
@@@ -443,6 +443,9 @@ const DEFAULT_GRANTS = [// Project secrets (ADR-056): Actor signs a task's webhook deliveries with the project secret its secret_ref names,// when the project granted that secret to actor for sign. The capability is the door; each secret's grant decides.['actor', 'network.secret.use', SELF_AUDIENCE, []],++ // Watch reveals a source credential to its source's origin, and signs a webhook action, with a project secret its++ // watch names (Contracts 0.179.0); each secret's project grant decides.++ ['watch', 'network.secret.use', SELF_AUDIENCE, []],];// Grants withdrawn by decision; applied at every boot so an old default can't come back.
@@ -443,6 +443,9 @@ const DEFAULT_GRANTS = [
@@ -443,6 +443,9 @@ const DEFAULT_GRANTS = [
// Project secrets (ADR-056): Actor signs a task's webhook deliveries with the project secret its secret_ref names,
// Project secrets (ADR-056): Actor signs a task's webhook deliveries with the project secret its secret_ref names,
// when the project granted that secret to actor for sign. The capability is the door; each secret's grant decides.
// when the project granted that secret to actor for sign. The capability is the door; each secret's grant decides.
['actor', 'network.secret.use', SELF_AUDIENCE, []],
['actor', 'network.secret.use', SELF_AUDIENCE, []],
+ // Watch reveals a source credential to its source's origin, and signs a webhook action, with a project secret its
+ // watch names (Contracts 0.179.0); each secret's project grant decides.
+ ['watch', 'network.secret.use', SELF_AUDIENCE, []],
];
];
// Grants withdrawn by decision; applied at every boot so an old default can't come back.
// Grants withdrawn by decision; applied at every boot so an old default can't come back.