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
F13048944: D20255.id.diff
Thu, Apr 18, 11:46 PM
Unknown Object (File)
Wed, Apr 17, 3:52 AM
Unknown Object (File)
Sat, Apr 13, 7:37 AM
Unknown Object (File)
Sat, Apr 13, 5:36 AM
Unknown Object (File)
Thu, Apr 11, 8:59 AM
Unknown Object (File)
Sat, Apr 6, 2:29 AM
Unknown Object (File)
Wed, Apr 3, 6:30 PM
Unknown Object (File)
Wed, Apr 3, 6:30 PM
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