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
F15506753: D20255.diff
Tue, Apr 15, 1:58 PM
F15491600: D20255.id48360.diff
Sat, Apr 12, 5:19 AM
F15491396: D20255.id48347.diff
Sat, Apr 12, 2:52 AM
F15489944: D20255.id.diff
Fri, Apr 11, 1:35 PM
F15488491: D20255.diff
Thu, Apr 10, 10:50 PM
F15413521: D20255.id.diff
Wed, Mar 19, 7:27 PM
Unknown Object (File)
Mar 3 2025, 8:44 AM
Unknown Object (File)
Mar 3 2025, 8:44 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