Dependency List Job Failed Alert - Hide link to job if payload from API does not include `job_path`
requested to merge 12250-fix-permissions-for-dependency-list-project-hide-link-to-failed-pipeline-if-no-jobpath into master
What does this MR do?
A recent change to the API's response excluded the path to the failed job (job_path
), if the current users permissions don't allow them to view the pipeline.
Related Discussion and MR:
- https://gitlab.com/gitlab-org/gitlab-ee/issues/12793
- https://gitlab.com/gitlab-org/gitlab-ee/issues/12250#note_201187623
- https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15044/diffs
This MR adds a small frontend change to not display the link to the job within the alert that gets triggered if the pipeline for creating a dependency-list fails.
Does this MR meet the acceptance criteria?
Conformity
Edited by David Pisek