Closed bonnedav closed 2 weeks ago
@bonnedav thank you for catching this. I've made a commit that should fix this issue. Could you test please and close the issue if it's solved for you?
Its still doing the same thing. the commit says terminate but this was about anonymize, terminate can't be enabled for moderators at all.
I have performed some testing of my own and I fixed it by placing the code you added to user_can_terminate_account
in user_can_anonymize_account
between the perm =
line and the first if
.
@bonnedav thank you, I've merged your patch
Version: cloned from master on 8/18/24
Current Behavior:
Expeted Behavior:
Steps to Reproduce:
Who can anonymize and disable accounts:
toadministrators and moderators
.