Page MenuHomePhabricator

Fix an exception with user cache generation in "bin/conduit call --as <user>"

Authored by epriestley on Mar 7 2019, 12:26 AM.



Ref T13249. Using "--as" to call some Conduit methods as a user can currently fatal when trying to access settings/preferences.

Allow inline regeneration of user caches.

Test Plan

Called project.edit to add a member. Before: constructing a policy field tried to access the user's preferences and failed. After: Smooth sailing.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Mar 7 2019, 12:26 AM
epriestley requested review of this revision.Mar 7 2019, 12:28 AM
amckinley accepted this revision.Mar 7 2019, 6:34 PM
This revision is now accepted and ready to land.Mar 7 2019, 6:34 PM
This revision was automatically updated to reflect the committed changes.