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
F14057790: D11005.id26428.diff
Sun, Nov 17, 6:51 AM
F14015952: D11005.diff
Mon, Nov 4, 3:18 AM
F14002876: D11005.id.diff
Fri, Oct 25, 11:25 PM
F14001872: D11005.diff
Fri, Oct 25, 12:47 PM
F13956822: D11005.diff
Oct 14 2024, 7:12 AM
Unknown Object (File)
Oct 1 2024, 12:13 AM
Unknown Object (File)
Sep 26 2024, 5:18 AM
Unknown Object (File)
Sep 24 2024, 7:20 AM
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.