[#59844658] Add instance-level permission checking to analysis_cancel() view.