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
F18111057: D20255.id48360.diff
Tue, Aug 12, 6:01 AM
F18110965: D20255.id48347.diff
Tue, Aug 12, 3:40 AM
F18109537: D20255.id.diff
Mon, Aug 11, 2:22 PM
F18107577: D20255.diff
Mon, Aug 11, 1:37 AM
F18100379: D20255.diff
Sat, Aug 9, 11:52 AM
Unknown Object (File)
Jul 3 2025, 4:07 AM
Unknown Object (File)
Jul 2 2025, 12:11 AM
Unknown Object (File)
Jun 14 2025, 6:50 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