decentralized-identity / decentralized-identity/web5-js
Add protocolRole to the Authorization Payload in Message
Open
- 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
Assessment
This issue has not been assessed yet.