Users with 'view own cases' permission can't open resolved cases
Originally referenced here: https://civicrm.stackexchange.com/questions/33742/users-with-view-own-cases-permission-cant-access-resolved-cases
Version: 5.19.1 & Drupal 7.67
Problem: Users with 'view own cases' permission can't access closed cases. Does not affect users with 'view all cases' permissions. Unable to replicate on demo site due to being unable to edit role permissions.
Backtrace: `Nov 16 00:39:28 [error] $Fatal Error Details = Array ( [message] => You are not authorized to access this page. [code] => )
Nov 16 00:39:28 [debug] $backTrace = #0 .../public/sites/all/modules/civicrm/CRM/Core/Error.php(385): CRM_Core_Error::backtrace("backTrace", TRUE) #1 (closed) .../public/sites/all/modules/civicrm/CRM/Case/Page/Tab.php(72): CRM_Core_Error::fatal("You are not authorized to access this page.") #2 (closed) .../public/sites/all/modules/civicrm/CRM/Case/Page/Tab.php(188): CRM_Case_Page_Tab->preProcess() #3 (closed) .../public/sites/all/modules/civicrm/CRM/Core/Invoke.php(290): CRM_Case_Page_Tab->run((Array:4), NULL) #4 .../public/sites/all/modules/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:13)) #5 .../public/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4)) #6 (closed) .../public/sites/all/modules/civicrm/drupal/civicrm.module(444): CRM_Core_Invoke::invoke((Array:4)) #7 (closed) .../public/includes/menu.inc(527): civicrm_invoke("contact", "view", "case") #8 (closed) .../public/index.php(21): menu_execute_active_handler() #9 (closed) {main}`