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

Revisit logic for deleting grant-authorized records when handling a permission revocation RecordsWrite #716

Open
thehenrytsai opened this issue Mar 29, 2024 · 0 comments
Labels
bug Something isn't working testing related to new or existing tests

Comments

@thehenrytsai
Copy link
Member

Revisit logic in postProcessingForCoreRecordsWrite() for deleting grant-authorized records when handling a permission revocation RecordsWrite.

It appears that there was no test for it and it does not look like the code worked:

  • not seeing permissionsGrantId being an index
  • not seeing this.dataStore being called to delete actual data
  • test coverage is missing for the main delete logic
@thehenrytsai thehenrytsai added bug Something isn't working testing related to new or existing tests labels Mar 29, 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 testing related to new or existing tests
Projects
None yet
Development

No branches or pull requests

1 participant