This needs to be ported to release/1.3
Steps to reproduce
- Create pipeline for repo where you have no push access
- After pipeline is build, click on Edit pipeline, it renders an empty editor page, see attachment.
What should happen is a warning that push access will be required to edit it.
In the background editor calls API to fetch Jenkinsfile but API responds with 428 as provided access token or the user doesn't have push access.