Abuse - is reported

Vote:
 

Is it possible to find out which user reported an entity?

We have an abuse button that we want to hide for the user that made the abuse report on an EntryComment. If its another user we want the button to appear.  I can't find a way to find the specific user on the EntityObject that has been reported. I just seem to get the first abuse author.

/Mattias

#22860
Aug 19, 2008 13:39
Vote:
 

One way of doing this is to get all active report cases for the entity (status new. In most cases only one), iterate all reports for the report case and compare the Author property of the report to the logged in user.

#22901
Aug 20, 2008 10:03
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.