I have here and there been trying to create a Customization > Theme component code to check flag against both the flagged member and the member who flagged the post against the moderator. If the moderator is the flagged post owner or the user who flagged the post. It would hide the review buttons except say defer.
I have attempted to use AI but suspect the recent changes to the flag review menu may lbe causing some issues
This would be handy as well with Category moderators to ensure imho integrity in moderation actions. As in the past had a moderator who would flag posts of a member they had a disagreement then agree with their own flag
.while some would say choose your moderators better. Having a simple method to prevent temptation is best
Now a TC might not be overly secure the AU code suggested I could have the component generate a log if someone were to circumvent. Maybe late will share sample code in a Dev post