Page MenuHomePhabricator

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

Authored by epriestley on Mar 7 2019, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 21, 12:06 PM
Unknown Object (File)
Sun, Feb 9, 7:21 AM
Unknown Object (File)
Sun, Feb 9, 7:21 AM
Unknown Object (File)
Sun, Feb 9, 7:21 AM
Unknown Object (File)
Sun, Feb 9, 7:21 AM
Unknown Object (File)
Thu, Feb 6, 10:49 PM
Unknown Object (File)
Thu, Jan 30, 11:54 PM
Unknown Object (File)
Sat, Jan 25, 11:14 AM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable