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

(not only) favorites data is not being deleted when a user is deleted #1541

Open
blizzz opened this issue Jan 13, 2025 · 0 comments
Open

(not only) favorites data is not being deleted when a user is deleted #1541

blizzz opened this issue Jan 13, 2025 · 0 comments
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working

Comments

@blizzz
Copy link
Member

blizzz commented Jan 13, 2025

Steps to reproduce

  1. as User A favorite a table or view
  2. as admin, delete User A
  3. as admin, check select * from oc_tables_favorites where user_id = 'User_A';

Expected behavior

No results

Actual behavior

Rows are returned.

Tables app version

main

Browser

No response

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

We have a UserDeleted listener that deletes table data, but not favorite data. Contexts could be a thing, but tricky when shared. Shares can also be a thing. And navigation settings of contexts.

@blizzz blizzz added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant