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
Unknown Object (File)
Fri, Dec 13, 12:14 AM
Unknown Object (File)
Wed, Dec 11, 1:20 AM
Unknown Object (File)
Sun, Dec 8, 1:02 PM
Unknown Object (File)
Thu, Dec 5, 8:02 AM
Unknown Object (File)
Mon, Dec 2, 10:48 PM
Unknown Object (File)
Thu, Nov 21, 5:53 PM
Unknown Object (File)
Nov 17 2024, 6:51 AM
Unknown Object (File)
Nov 4 2024, 3:18 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.