more accurately return access errors to the frontend

more correct this way. doesn't do anything about this not getting handled correctly unfortunately

CCBUG: 468793

Merge request reports

Loading