Actions
Bug #2489
closedAPI: user with token can't be deleted
Start date:
2025-02-21
Estimated time:
4.00 h
Found in version:
Description
I noticed that a user can't be deleted if a corresponding token exists.
Problem is most likely that a foreign key (user_id) was used without specifying an "on delete cascade" trigger.
This has to be fixed in the install and upgrade SQL.
Usually bugs have the highest priority but in this case I would like to wait for other database changes because having to upgrade the database just for that seems a little overkill.
Updated by Alexander Watzinger 7 months ago
- Status changed from Assigned to In Progress
- Estimated time set to 4.00 h
Updated by Alexander Watzinger 7 months ago
- Status changed from In Progress to Closed
Is fixed in the develop branch. A database upgrade for this is necessary but will be taken care of by the update script.
Actions