PaulB
Well-known member
- Affected version
- 1.5.21
Anyone who can see an item in the moderation queue can approve or delete it. The permissions required to view a thread or post in the moderation queue are view, edit any, and delete any. approveUnapprove should probably be in there as well, but that's only used for the inline moderation tool. This seems unintentional. For threads, approveUnapprove is only checked by XenForo_Model_Thread#canApproveUnapproveThread. The only relevant use of that method is in XenForo_Model_Thread#canAlterThreadState, which is only used in XenForo_ControllerPublic_Thread.