Disable Performance bar shortcut for non-admin users
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=28530) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=28530) </details> <!--IssueSummary end--> ### Summary Disable Performance bar shortcut for non-admin users ### Steps to reproduce 1. Login in as non-admin user 1. Press `p b` 1. The page will reload ### What is the expected *correct* behavior? The Page should not reload and not save the `perf_bar_enabled` cookie ### Relevant logs and/or screenshots `perf_bar_enabled` **Cookie** (Removed some other cookies for security reasons) ![Screenshot](https://gitlab.com/yo/issues/uploads/05268c4475ee0ecaee1a3c4b3dd941cd/Screenshot.png) ### Output of checks This bug happens on GitLab.com ### Possible fixes Set Roles to this line with **if conditions** https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/behaviors/shortcuts/shortcuts.js#L26
issue