This project is read-only.

White List Comments of one particular user are automatically approved

Topics: Business Logic Layer
Oct 2, 2016 at 11:17 AM
I have a post with a lot comments... There is a particular user (with many comments) that, when he posts a comment, I don't receive the notification email, AND his comment is automatically approved. The "Trust Auhenticated User" is unchecked" (and plus, he isn't)

Looking in the postcomments table I see Moderatedby = Rule:white list

I don't see in Settings any point where to enable this feature and any list of user whitelisted

(version 3.3)

Oct 11, 2016 at 11:46 AM
Edited Oct 11, 2016 at 11:46 AM

IN CommentHandlers.cs, method ModeratedByFilter
// user posted 10 or more approved comments - trust
if (whiteCnt >= 10)
                comment.IsApproved = true;
                comment.ModeratedBy = "Rule:white list";
                return true;
IMHO there should be a boolean setting like "apply automatic white list rule after X approved comments" per X should also be configurable