LINCnil / pia-back

Programme développé avec le framework RubyOnRails mettant à disposition une API RESTful à destination des outils PIA et PIA-APP. | Program developped with RubyOnRails providing a RESTful API for the PIA and PIA-APP applications.
GNU General Public License v3.0
156 stars 65 forks source link

Cant delete activated user from web interface #249

Closed ektorasdj closed 6 months ago

ektorasdj commented 6 months ago

Hello and thank you for this tool. I have an issue with version 3.2.2 When trying through the front end to delete a user and pressing "Delete this User" the window closes but the user is still there (even after refresh). I can create and invite new users, and change permissions and Data but not delete them. A non-activated user can be deleted. Do you maybe know why?

Thank you

ektorasdj commented 6 months ago

Hello, Problem solved, the user had comments on a pia. After I deleted them through the rails console (or you can delete the whole pia) the user was deleted successfully. Thank you!

kevin-atnos commented 6 months ago

Hello @ektorasdj,

We are glad that your issue is solved. It's also interesting to know that there seems to be something a bit off about users and their comments when we want to delete them. We will investigate this point, thank you for the feedback.

Have a good day!

Regards,