devilry / trix2

Next generation Trix. Detailed task control and statistics app for better learning outcome.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Unable to delete the user of a former admin #113

Closed torgeirl closed 1 year ago

torgeirl commented 1 year ago

An user that formerly was admin can not be deleted. It fails due to it being present in the admin log data table.

Clarification: the user attempted to be deleted was stripped of the is_admin trait (is_admin == t -> is_admin == f) before trying to delete it.

torgeirl commented 1 year ago

No longer able to reproduce this after #98 was solved.