Return 404 status in api if project has pending_delete state
What does this MR do?
Api should return 404 error if project in pending delete state, solution described in comment https://gitlab.com/gitlab-org/gitlab-ce/issues/50949#note_98435673
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ce/issues/50949 https://gitlab.com/gitlab-org/gitlab-ce/issues/50950 https://gitlab.com/gitlab-org/gitlab-ce/issues/50952 https://gitlab.com/gitlab-org/gitlab-ce/issues/50953 https://gitlab.com/gitlab-org/gitlab-ce/issues/50954 https://gitlab.com/gitlab-org/gitlab-ce/issues/50955
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides