TampereHacklab / mulysa

Mulysa member management for Hacklabs
GNU General Public License v3.0
6 stars 11 forks source link

User cleanup #459

Closed tswfi closed 8 months ago

tswfi commented 8 months ago

Add few admin tools to help with marking the users Add script (not crontabbed yet) for deleting marked users Add tests for user deletion

tswfi commented 8 months ago

tox will fail until #458 gets merged and this PR rebased (because the tests were moved around)

tswfi commented 8 months ago

@olmari rebased and now tox is happy

This doesn't have any functional changes, mainly the admin view has a new filter and bit different list items. And now that we have some tests I'm more confident on doing cleanup in the future automatically.

And I even think we could expose the mark_for_deletion_on as a user button "I want to end my hacklab membership" so that users can do it themself..