Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listblock records aren't deleted when an account is deleted or suspended #4999

Open
mm14kwn opened this issue Aug 27, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mm14kwn
Copy link

mm14kwn commented Aug 27, 2024

Describe the bug

When someone creates a block list, and users subscribe to it, if that person then deletes their account or is suspended, there's no way in app for those users to then access the list and unsubscribe/unblock. The list persists after account suspension, the list creator is suspended so can't log in to delete it, and in-app users cannot access the list to unblock it (i.e. delete the app.bsky.graph.listblock record) because the profile associated with the list creator returns an error (account taken down).

The only way currently to fix this is with direct API access - I've done it in python fairly simply (listing listblock records for a user with com.atproto.repo.listRecords, finding the ones related to the lists from suspended accounts, and running com.atproto.repo.deleteRecord from a logged in client), and there's a tutorial here on how to do it with browser API calls and a CURL client online

https://cohost.org/signpostkw/post/7429398-how-to-unblock-one-o

To Reproduce

Steps to reproduce the behavior:

User A creates a mod list
User B subscribes to that mod list with the "block" option
User A deletes or is suspended
User B can now no longer access user A's list to unblock, but anyone on the list is still blocked

Expected behavior

Make the "view moderation lists" dialogue in app properly display the results of com.atproto.repo.listRecords with the app.bsky.graph.listblock NSID, even the ones from invalid/suspended DIDs, and provide a button next to each to run com.atproto.repo.deleteRecord.
Alternatively, properly delete all user lists when an account is deleted or suspended.

@mm14kwn mm14kwn added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant