When Phabricator "allow-public" is true and a repository is only accessible for certain users (non public) a push/pull failes with "404 No such repository".
- Set phabricator to public
- Set Diffusion Can Use Application, Default View Policy and Default Push Policy to a Project (I think this step has not been done in the previous attempt)
- Create a git repository with Visibile To, Pushable By set to a Project
- Try to push/pull the repo:
git push fatal: repository 'https://xyz/diffusion/MS/test.git/' not found
After applying the patch it is possible to push/pull as expected:
git push Everything up-to-date
-> If allow-public is set to true, no further check is done if the repository is even accessible as anonymous.