Page MenuHomePhabricator

Fix logged-out Diffusion calls to Conduit
ClosedPublic

Authored by epriestley on Oct 22 2013, 8:12 PM.
Tags
None
Referenced Files
F15426885: D7380.id16622.diff
Sun, Mar 23, 11:24 AM
F15392921: D7380.diff
Sat, Mar 15, 6:31 PM
F15282438: D7380.diff
Tue, Mar 4, 12:09 AM
Unknown Object (File)
Feb 14 2025, 11:46 PM
Unknown Object (File)
Feb 1 2025, 4:29 AM
Unknown Object (File)
Jan 28 2025, 5:58 AM
Unknown Object (File)
Jan 22 2025, 10:10 AM
Unknown Object (File)
Jan 1 2025, 5:35 PM
Subscribers

Details

Reviewers
btrahan
Commits
Restricted Diffusion Commit
rP90b83d7a92c5: Fix logged-out Diffusion calls to Conduit
Summary

Conduit doesn't currently have an analog to "shouldAllowPublic", so the recent policy checks added here caught legitimate Conduit calls when viewing Diffusion as a logged-out user.

Add shouldAllowPublic() and set it for all the Diffusion queries.

(More calls probably need this, but we can add it when we hit them.)

Test Plan

Looked at Diffusion as a logged-out user with public access enabled.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped