Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Social Comments component - (Super) Flagging ?

Avatar

Community Advisor

Hi All,

Just wanted to put a question whether the Comments component ("/libs/social/commons/components/hbs/comments") has super flagging capabilities?

I can see that a user can flag other user's comments. If 5 users (default is 5 but configurable) flag a comment it adds a property "is_flagged_hidden" (I think)  as true in the UGC. I am looking for  a similar action to happen when a user who is a super flagger or say part of administrators group flags a comment

I see that we can implement CommentOperationExtension and on an action such as adding a comment we can get to the afterActionbeforeActiongetNamegetOrder methods and apply any logic. Similarly is there a OOTB class that can be implemented when a 'flag' action is made on  a comment?

Please let me know if some one has any insight on this.

Thanks

1 Reply