Fixed Watch limitation for own resources no longer applies

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:
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.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFRM release (2.2.4).

Change log:
Allow resource creators to watch their own resources when resource teams are enabled
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom