decentralized-identity / decentralized-identity/dwn-sdk-js

Add protocol-tagging index to `RecordsDelete` PermissionProtocol messages

Open
#768 0 comments 0 reactions 0 assignees View on GitHub
feature hacktoberfest
Dominant language
TypeScript
Stars
322
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Since permission messages are their own built-in protocol, we currently add a `protocol` RecordsTag to the `RecordsWrite` messages associated with `PermissionGrant`, `PermissionRequest` and `PermissionRevocation` messages. This tag references the `protocol` which the request/grant/revocation is scoped to, allowing indexing and querying all messages related to a particular protocol.

Although permission messages are typically not deleted, we should also tag the `RecordsDelete` messages as well.

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.