decentralized-identity / decentralized-identity/web5-js

Add protocolRole to the Authorization Payload in Message

Open
#369 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
142
Forks
56
PR merge metrics
No merged PRs in 30d

Description

When using Context Roles within a protocol, the Web5 Agent DwnManager needs to include the protocolRole attribute otherwise the DWN SDK code will through a 'ProtocolAuthorizationActionNotAllowed: inbound message action not allowed for author' error.

This only happens if Access Control is enforced via Protocol and Context Roles.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.