Closed Bug 907660 Opened 11 years ago Closed 11 years ago

Add log for user deactivations

Categories

(support.mozilla.org :: Knowledge Base Software, task, P4)

Tracking

(Not tracked)

VERIFIED FIXED
2013Q4

People

(Reporter: atopal, Assigned: rehandalal+mozilla)

Details

(Whiteboard: u=contributor c=questions p=2 s=2013.23)

User Story: As a forum moderator I want to know when and by whom an account is being deactivated so I can check whether I agree with a decision.

UX: Please add a page that logs user deactivations with the following columns:

user who was deactivated, moderator who deactivated, time of deactivation

Please link to this log from https://support.mozilla.org/en-US/flagged
I think we should hold off on this until we are on Persona and decide what we should be doing with deactivated accounts in that case. Does it basically blacklist the email address from signing in ever again?

Currently we use the is_active flag for two things:
* Users that haven't verified their email (this goes away with Persona)
* Users we don't want to be able to log in again because of whatever reason
We are also using it to let moderators stop spammers, before an admin can react and remove the account.

What does deactivating do today? Keep them from signing in ever again?
(In reply to Kadir Topal [:atopal] from comment #2)
> What does deactivating do today? Keep them from signing in ever again?

Yeah, basically it blocks them from signing in.
Would I be correct in saying it currently prevents a deactivated user signing in to AAQ & other fora, but it does not prevent a user signing in to the profile. A deactivated user is still able to send Private Messages.I believe that is desirable as it allows an appeal.

Oddly sumo apparently has no open general contact email address.
Ricky, how is this blocked by Persona? This would just be a log of the action. Whatever the action would entail is not part of this bug. Maybe I'm missing something?
(In reply to Kadir Topal [:atopal] from comment #5)
> Ricky, how is this blocked by Persona? This would just be a log of the
> action. Whatever the action would entail is not part of this bug. Maybe I'm
> missing something?

It isn't exactly blocked. We just need to decide what to do when a user is deactivated and they try to sign in with Persona. My guess is they just won't be able to sign in. I don't know if it is currently implemented like that though. We could test it on stage.
We are focusing on Open Badges and Persona in 2013.18
Whiteboard: u=contributor c=questions p= s=2013.18 → u=contributor c=questions p= s=2013.19
When the account is deactivated you can still log in to Persona, but you can't use the log-in on SUMO anymore: bug 914578
Pushing to next sprint, since we are focusing on Q3 goals in this short sprint.
Whiteboard: u=contributor c=questions p= s=2013.19 → u=contributor c=questions p= s=2013.20
Q3 is over... => Q4
Target Milestone: 2013Q3 → 2013Q4
pushing to next sprint.
Whiteboard: u=contributor c=questions p= s=2013.20 → u=contributor c=questions p= s=2013.21
We need to create a new model that stores: user who was deactivated, moderator who deactivated, time of deactivation

We need to create a new view + template that lists all the instances and paginates them.
Whiteboard: u=contributor c=questions p= s=2013.21 → u=contributor c=questions p=2 s=2013.21
Missed. Pushing to next sprint.
Whiteboard: u=contributor c=questions p=2 s=2013.21 → u=contributor c=questions p=2 s=2013.22
Moving along during sprint planning.
Whiteboard: u=contributor c=questions p=2 s=2013.22 → u=contributor c=questions p=2 s=2013.23
Hey Ricky, can we extend this to include post and thread deletions? If not, let's move that to bug 939938
Assignee: nobody → rdalal
Deployed to prod:
https://github.com/mozilla/kitsune/commit/e99e0d1456190a8866aefe416f449843b386debb

PR was here:
https://github.com/mozilla/kitsune/pull/1733
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
would it be possible in the deactivation log to link the nickname of the deactivated user to his/her profile?
(In reply to philipp from comment #17)
> would it be possible in the deactivation log to link the nickname of the
> deactivated user to his/her profile?

That and any other tweaks to the log should be in a new bug.
(In reply to philipp from comment #17)
> would it be possible in the deactivation log to link the nickname of the
> deactivated user to his/her profile?

philipp - feel free to file a new bug for that.
thanks, did so in bug 944344
You need to log in before you can comment on or make changes to this bug.