Kruzya
Well-known member
- Affected version
- 2.2.0 Beta 1
As said in thread.
For example, we have two members:
In
This "strange" behavior can be reproduced right here. This action is available for any user (include guest!) for any visible post/thread/resource:
For example, we have two members:
admin and moderator. moderator doesn't can undelete, but can view deleted posts (if we check analyze permissions).admin deletes some post, and moderator can view (but can't undelete). If moderator open the URL /posts/{post_id}/undelete, he can restore (undelete) post!In
XF\ControllerPlugin\Undelete we can see only method_exists() check, but method canUndelete will not be called anywhere in this action.This "strange" behavior can be reproduced right here. This action is available for any user (include guest!) for any visible post/thread/resource:


