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
F18803747: D20255.diff
Sat, Oct 18, 3:26 AM
F18760072: D20255.id.diff
Mon, Oct 6, 7:51 AM
F18735870: D20255.diff
Wed, Oct 1, 3:46 AM
F18733932: D20255.id.diff
Tue, Sep 30, 10:44 PM
F18642253: D20255.diff
Thu, Sep 18, 11:12 PM
F18612601: D20255.id48347.diff
Sep 14 2025, 9:16 AM
F18569484: D20255.id48360.diff
Sep 10 2025, 2:08 AM
F18569481: D20255.id48347.diff
Sep 10 2025, 2:08 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
Branch
conduit1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22206
Build 30357: Run Core Tests
Build 30356: arc lint + arc unit