Page MenuHomePhabricator

Don't skip policy checks on ObjectQuery if special capabilities are required
ClosedPublic

Authored by epriestley on Dec 17 2014, 11:44 PM.
Tags
None
Referenced Files
F13091903: D11005.diff
Thu, Apr 25, 3:18 AM
Unknown Object (File)
Thu, Apr 11, 6:17 PM
Unknown Object (File)
Thu, Apr 11, 10:40 AM
Unknown Object (File)
Mon, Apr 8, 10:31 AM
Unknown Object (File)
Mar 9 2024, 9:15 PM
Unknown Object (File)
Mar 7 2024, 7:29 PM
Unknown Object (File)
Feb 7 2024, 3:03 AM
Unknown Object (File)
Jan 24 2024, 12:08 PM
Subscribers

Details

Summary

Ref T6741. As an optimization, we omit policy checks on ObjectQuery, but need to retain them if the query requests non-view permissions. This primarily affected Almanac properties.

Test Plan

Almanac properties now do full policy checks on ObjectQuery loads.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't skip policy checks on ObjectQuery if special capabilities are required.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Dec 18 2014, 12:47 AM
This revision was automatically updated to reflect the committed changes.