Version info
phabricator f3d8e3832c96040b6319f5f599aa877c2d773c25 (Sun, Aug 14)
arcanist c9337c2ade7c76edc98d27c216ab97fc1e40d01c (Sun, Aug 7)
phutil b6f4e866fdb2c41de23c8e635c7803a09a44e9f4 (Sun, Aug 14)
Steps to Reproduce
- System should have User1 (administrator - to create the repo)
- Create a new Repo XYZ
- Change all policies to Administrator
- Add a README file to the same (write, commit and push)
- Open the Browse Repository link
- Click on the README file
- Click on View Raw File
- Copy the link and access the link via curl -XGET
Expected Result
If not a Phabricator user,
Should present the login form if accessing via curl
If a Phabricator user but not meeting the access policies,
Prevent Unauthorized Access
If a Phabricator user and meets the access policies,
Let him view the file contents
Actual Result
Displays the content of the file, irrespective of login state
Additional info
Our Global Diffusion policies:
We have enabled public policies for other applications as well