There is hard coded permission which allows moderators issuing a warning to edit or expire it, in src/XF/Entity/Warning.php functions canDelete() and canEditExpiry():
Instead there should be new General moderator permission: "Delete own warnings".
Ref: https://xenforo.com/community/threa...s-not-work-for-moderators.175918/post-1427883
Code:
if ($this->warning_user_id == $visitor->user_id)
{
return true;
}
Instead there should be new General moderator permission: "Delete own warnings".
Ref: https://xenforo.com/community/threa...s-not-work-for-moderators.175918/post-1427883
Upvote
1