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)
Thu, Dec 12, 10:40 PM
Unknown Object (File)
Thu, Dec 12, 10:39 PM
Unknown Object (File)
Thu, Dec 12, 10:39 PM
Unknown Object (File)
Thu, Dec 12, 10:39 PM
Unknown Object (File)
Mon, Dec 9, 9:43 PM
Unknown Object (File)
Sun, Dec 8, 5:05 AM
Unknown Object (File)
Fri, Nov 29, 11:49 PM
Unknown Object (File)
Fri, Nov 29, 10:04 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
Branch
conduit1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22206
Build 30357: Run Core Tests
Build 30356: arc lint + arc unit