Page MenuHomePhabricator

In Phortune, write relationships between payment accounts and merchants they interact with
ClosedPublic

Authored by epriestley on Aug 15 2019, 11:15 PM.

Details

Summary

Depends on D20713. Ref T13366. When a payment account establishes a relationship with a merchant by creating a cart or subscription, create an edge to give the merchant access to view the payment account.

Also, migrate all existing subscriptions and carts to write these edges.

This aims at straightening out Phortune permissions, which are currently a bit wonky on a couple of dimensions. See T13366 for detailed discussion.

Test Plan
  • Created and edited carts/subscriptions, saw edges write.
  • Ran migrations, saw edges write.

Diff Detail

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Aug 15 2019, 11:15 PM
Owners added a subscriber: Restricted Owners Package.Aug 15 2019, 11:15 PM
epriestley requested review of this revision.Aug 15 2019, 11:17 PM
This revision was not accepted when it landed; it landed in state Needs Review.Fri, Aug 23, 4:01 AM
This revision was automatically updated to reflect the committed changes.