question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

delete-user-data should allow for deleting by value

See original GitHub issue

[READ] Step 1: Are you in the right place?

Yes

[REQUIRED] Step 2: Extension name

This feature request is for extension: delete-user-data

What feature would you like to see?

When setting up delete-user-data, it would be great if we could also delete items by a value. In the friendlymarket codelab for example, we store items in the forsale collection. Each item then contains the uid of the user in the seller field. The path here is forsale/{Item UID}/seller

Right now, the extension only allows us to delete items if the UID is part of the path. It would be great if we could also delete items that have a UID as a value.

How would you use it?

In the friendlymarket example, I could delete all items a user is selling when the user wants their account deleted

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Ehespcommented, Oct 2, 2019

Yeah they’re fair points, so I totally understand where you’re coming from! Let me pick this up with the Firebase team. It will need a bit of planning; off the top of my head I’m not 100% sure that Storage can be queried by file value - it may have to use list which is do-able, however could take a long time on a large storage bucket.

1reaction
karayucommented, Jan 8, 2020

Thanks so much for the feature request Alex! This feature would definitely make this extension a lot more powerful and helpful for GDPR.

In chatting with others, there is quite a bit of complexity in this feature since the relationship between a user and an item can be different. Someone could be helping manage an item’s sale rather than the seller themselves and in that case we would want to delete only if the user who left is a seller and not if they are the marketer.

We’d like to think about this feature request as a separate and more powerful extension. I’m going to close this for now but we’ll be tracking internally as a new extension. Thanks again for the suggestion and using extensions!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete User Data extension to allow targeting documents for a ...
The Delete User Data extension does allow us to configure a Cloud Storage path to delete, but since users can upload many different...
Read more >
Using the Delete User Data extension - Firebase - Google
The Delete User Data extension ( delete-user-data ) lets you delete a user's data when the user is deleted from your Firebase project....
Read more >
Best way to store deleted user data? - Stack Overflow
The first way to accomplish this that came to mind is to have a column in the users table that denotes whether they're...
Read more >
[GA4] Data-deletion requests - Analytics Help - Google Support
Enter a value to identify which data you want to delete. Optionally, select Only delete parameter values that contain the following text. Enter...
Read more >
How to delete user data in an AWS data lake
You can use the following architecture diagram to delete a specific user's data within your organization's AWS data lake.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found