Page MenuHomePhabricator

Fix logged-out Diffusion calls to Conduit
ClosedPublic

Authored by epriestley on Oct 22 2013, 8:12 PM.
Tags
None
Referenced Files
F15578440: D7380.diff
Tue, May 6, 7:05 PM
F15470855: D7380.diff
Apr 5 2025, 1:46 AM
F15426885: D7380.id16622.diff
Mar 23 2025, 11:24 AM
F15392921: D7380.diff
Mar 15 2025, 6:31 PM
F15282438: D7380.diff
Mar 4 2025, 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
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