message: Only show "delete fork" link if the user is allowed to
diff: @@ -5,9 +5,10 @@ import * as pageDetect from '../libs/page-detect';
  const repoUrl = pageDetect.getRepoURL();
  export default function () {
  + const canDeleteFork = select.exists('.reponav-item [data-selected-links~="repo_settings"]');
  const postMergeDescription = select('#partial-pull-merging .merge-branch-description');
  - if (postMergeDescription) {
  + if (canDeleteFork && postMergeDescription) {
  const currentBranch = postMergeDescription.querySelector('.commit-ref');
  const forkPath = currentBranch ? currentBranch.title.split(':')[0] : null;
  