Keys not deleted when user is deleted

Created on 10 April 2019, over 5 years ago
Updated 24 May 2024, 7 months ago

When admin deletes an user (along with the user's content*) the corresponding record in the services_auth_apikeys table is not deleted.

*as tested

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia sano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    I don't think the service should be deleted, but things like

    1. error message
    2. log entry
    3. removing the user reference
    4. disabling the key

    make sense to me.

    Please suggest how to proceed.

Production build 0.71.5 2024