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

[FEATURE] Delete survey responses for deleted tenant app memberships #32

Open
roberlander2 opened this issue Mar 12, 2024 · 0 comments · May be fixed by #33
Open

[FEATURE] Delete survey responses for deleted tenant app memberships #32

roberlander2 opened this issue Mar 12, 2024 · 0 comments · May be fixed by #33
Assignees
Labels
enhancement New feature or request

Comments

@roberlander2
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When users wish to delete all of their information from the ecosystem, they must send a request to each building block to delete data as desired.

Describe the solution you'd like
Use the coreservice in https://github.com/rokwire/core-auth-library-go to make requests to the Core BB and register a callback to get information about deleted tenant account app memberships. These data should be used to determine which survey responses should be removed from the database. A RetainResponses field should be created for the Survey model, which specifies the default decision on whether to delete a SurveyResponse when a user deletes an app membership. A user may override this default behavior by specifying to the Core BB which data may be kept for each service. This data will be included in the list of deleted app memberships.

Describe alternatives you've considered
The current method of sending individual requests to building blocks to remove user data when a user decides to remove an app membership will work, but it can lead to incomplete data removal if even one request from the client app fails. This proposed change also cuts down on the number of requests the user must make manually.

@roberlander2 roberlander2 added the enhancement New feature or request label Mar 12, 2024
@roberlander2 roberlander2 self-assigned this Mar 12, 2024
roberlander2 added a commit that referenced this issue Mar 12, 2024
…vey responses, add RetainResponses to Survey model, upgrade go version and dependencies [#32]
@roberlander2 roberlander2 linked a pull request Mar 15, 2024 that will close this issue
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant