Add log for user deactivations

VERIFIED FIXED in 2013Q4

Status

support.mozilla.org
Knowledge Base Software
P4
normal
VERIFIED FIXED
5 years ago
4 years ago

People

(Reporter: atopal, Assigned: rehan)

Tracking

unspecified
2013Q4

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

5 years ago
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
(Reporter)

Comment 2

5 years ago
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.
(Reporter)

Comment 5

4 years ago
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
(Reporter)

Comment 8

4 years ago
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
(Reporter)

Comment 9

4 years ago
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
(Reporter)

Comment 15

4 years ago
Hey Ricky, can we extend this to include post and thread deletions? If not, let's move that to bug 939938
(Assignee)

Updated

4 years ago
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
Last Resolved: 4 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED

Comment 17

4 years ago
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.

Comment 20

4 years ago
thanks, did so in bug 944344
You need to log in before you can comment on or make changes to this bug.