Lukas W.
Well-known member
- Affected version
- 2.2.3
Currently it is not possible to watch own resources. The code suggests, that this is a leftover limitation from before resource teams existed:
Now that other users can upload updates for your resources, you can have a legitimate interest in staying up-to-date with these events, so watching your own resources now follows a purpose. This condition probably needs to be updated as a result.
PHP:
public function canWatch(&$error = null)
{
$visitor = \XF::visitor();
// don't let authors watch as all updates will be attributed to them anyway
return (
$visitor->user_id
&& $visitor->user_id != $this->user_id
);
}
Now that other users can upload updates for your resources, you can have a legitimate interest in staying up-to-date with these events, so watching your own resources now follows a purpose. This condition probably needs to be updated as a result.