TickTackk Well-known member Nov 3, 2020 #1 Affected version 2.2.1 This: PHP: if (!$alert->canView()) { throw $this->noPermission(); } should be: PHP: if (\XF::isApiCheckingPermissions() && !$alert->canView()) { throw $this->noPermission(); }
This: PHP: if (!$alert->canView()) { throw $this->noPermission(); } should be: PHP: if (\XF::isApiCheckingPermissions() && !$alert->canView()) { throw $this->noPermission(); }
XF Bug Bot XenForo bug fixer bot Staff member Nov 10, 2020 #2 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 XF release (2.2.2). Change log: Respect API permission bypass when checking alert viewability Click to expand... There may be a delay before changes are rolled out to the XenForo Community.
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 XF release (2.2.2). Change log: Respect API permission bypass when checking alert viewability Click to expand... There may be a delay before changes are rolled out to the XenForo Community.