1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22:41 +01:00
phorge-phorge/src/applications/phortune/edge
epriestley 277bce5638 In Phortune, write relationships between payment accounts and merchants they interact with
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.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13366

Differential Revision: https://secure.phabricator.com/D20715
2019-08-22 21:01:04 -07:00
..
PhortuneAccountHasMemberEdgeType.php Modernize PhortuneAccount with EditEngine/Modular Transactions 2017-04-11 12:33:15 -07:00
PhortuneAccountHasMerchantEdgeType.php In Phortune, write relationships between payment accounts and merchants they interact with 2019-08-22 21:01:04 -07:00
PhortuneMemberHasAccountEdgeType.php
PhortuneMemberHasMerchantEdgeType.php
PhortuneMerchantHasAccountEdgeType.php In Phortune, write relationships between payment accounts and merchants they interact with 2019-08-22 21:01:04 -07:00
PhortuneMerchantHasMemberEdgeType.php Update PhortuneMerchant to Modular Transactions 2017-04-11 09:32:12 -07:00