Reproduction steps:
- Applications → Files → Edit Policies → Default View Policy
- Select Subscribers
- Use user A and create a differential revision with a binary file
- Use user B and try to view that binary file in differential or try to arc patch the revision.
Expected result:
User B should be able to checkout the revision or view the file in the web interface.
Actual result:
- Try to apply patch
$ arc patch D1 Created and checked out branch arcpatch-D1. Downloading binary data for 'foo.woff'... Exception ERR-CONDUIT-CORE: [You Shall Not Pass: Restricted File] (Can View) You do not have permission to view this object. // Subscribers can take this action. The user who uploaded a file can always view and edit it. Files attached to objects are visible to users who can view those objects. Thumbnails are visible only to users who can view the original file. (Run with `--trace` for a full exception trace.)
- Try to open the file in the web interface
Version
phabricator 130e1d1f68a4dc4c41559be11971301cbb656317 (Sun, Mar 20)
arcanist 3d7ac867f53892b8210339bbb0c5fd91e0e36d78 (Tue, Mar 15)
phutil b4f38af384807b7dcd1e3d1a96e9e9069e4d6964 (Fri, Mar 18)