Page MenuHomePhabricator

Policy - lock down loadCommit() from DiffusionRequest objects
ClosedPublic

Authored by btrahan on Jan 30 2015, 10:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 9:37 AM
Unknown Object (File)
Sun, Apr 7, 9:12 AM
Unknown Object (File)
Tue, Apr 2, 6:14 AM
Unknown Object (File)
Fri, Mar 29, 9:19 AM
Unknown Object (File)
Thu, Mar 28, 8:39 AM
Unknown Object (File)
Mar 15 2024, 9:06 PM
Unknown Object (File)
Mar 5 2024, 12:02 PM
Unknown Object (File)
Mar 4 2024, 8:59 PM
Subscribers

Details

Summary

Ref T7094. The class DiffusionRequest has other public methods which use getUser() in an unguarded way. Code inspection of the call sites for loadCommit() also leads me to believe the $user is properly set.

Test Plan

clicked around diffusion a bunch and everything seemed to work okay. (happy to test any particular esoteric endpoints that come to mind)

Diff Detail

Repository
rP Phabricator
Branch
T7094_4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4193
Build 4206: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

btrahan retitled this revision from to Policy - lock down loadCommit() from DiffusionRequest objects.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

I suspect we're consistent on providing a user now.

This revision is now accepted and ready to land.Jan 31 2015, 2:24 PM
This revision was automatically updated to reflect the committed changes.