You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice, especially for development puposes, to have an easy way to wipe the data store of a remote dwn. @csuwildcat said "We need a command like that, but don't have it." Consider this issue as the starting point for discussion on how to achieve this behavior. My initial idea is something simple: Create a function that proxies the functionality of web5.dwn.records.query and runs record.delete on each returned record. Same goes for web5.dwn.protocols.query but instead of .delete do a web5.dwn.protocols.configure({}); this could be exposed in @web5/api as web5.dwn.wipe. Open to other ideas.
The text was updated successfully, but these errors were encountered:
should you be able to partial wipe based on a subset of permissions or should wiping be bound only to tenant based activities?
i.e I Alice authored 1000 messages to Bob's remote node and has write permission. Can Alice purge records from Bob via wipe or is wipe bound to only tenant?
also, a thought to call it purge or prune. Not wipe.
It would be nice, especially for development puposes, to have an easy way to wipe the data store of a remote dwn. @csuwildcat said "We need a command like that, but don't have it." Consider this issue as the starting point for discussion on how to achieve this behavior. My initial idea is something simple: Create a function that proxies the functionality of
web5.dwn.records.query
and runsrecord.delete
on each returned record. Same goes forweb5.dwn.protocols.query
but instead of.delete
do aweb5.dwn.protocols.configure({})
; this could be exposed in @web5/api asweb5.dwn.wipe
. Open to other ideas.The text was updated successfully, but these errors were encountered: