MDL-59195 assignsubmission_comments: fix permission checks