-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the ability for moderators to delete all scores/comments by a user #1027
Implement the ability for moderators to delete all scores/comments by a user #1027
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, bracket formatting nitpick
ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Outdated
Show resolved
Hide resolved
ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Outdated
Show resolved
Hide resolved
ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Outdated
Show resolved
Hide resolved
ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot in the previous review that batch updates and deletes don’t require you to call SaveChanges after
ProjectLighthouse.Servers.Website/Controllers/Admin/AdminUserController.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Title is fairly self-explanatory.
This PR allows moderators/admins to delete every score or comment posted by a user from the user page.
These features were requested by a Beacon moderator after some recent comment and hacked score spam.