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
F15413521: D20255.id.diff
Wed, Mar 19, 7:27 PM
Unknown Object (File)
Mon, Mar 3, 8:44 AM
Unknown Object (File)
Mon, Mar 3, 8:44 AM
Unknown Object (File)
Mon, Mar 3, 8:44 AM
Unknown Object (File)
Mon, Mar 3, 8:44 AM
Unknown Object (File)
Feb 21 2025, 12:06 PM
Unknown Object (File)
Feb 9 2025, 7:21 AM
Unknown Object (File)
Feb 9 2025, 7:21 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