Skip to content

Commit f036648

Browse files
author
Heathpackard
authored
Update b2b2c-marketplace.mdx
1 parent 1cb50f3 commit f036648

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/docs/guides/(authorization)/illustrative-examples/b2b2c-marketplace.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ In general, model design is an iterative process. While this article is presente
2424

2525
Suppose you are an ecommerce marketplace company. Buyers and sellers transact via Orders, which are associated with a shipping address at checkout time. You might want to define permissions such that:
2626

27-
- Sellers can be (a) shops (groups of users) or (b) individual users
28-
- Buyers can only be individual users
29-
- Users can be a "shop owner" or a "shop member"
30-
- Buyers can view and edit their own orders
31-
- Individual sellers can view, edit and refund orders that they sell
32-
- Shop owners can edit their shop's settings (e.g. name and payout details) and manage their shop's members
33-
- Both shop owners and shop members can view, edit and refund their shop's orders
27+
- Sellers can be (a) shops (groups of users) or (b) individual users.
28+
- Buyers can only be individual users.
29+
- Users can be a "shop owner" or a "shop member".
30+
- Buyers can view and edit their own orders.
31+
- Individual sellers can view, edit and refund orders that they sell.
32+
- Shop owners can edit their shop's settings (e.g. name and payout details) and manage their shop's members.
33+
- Both shop owners and shop members can view, edit and refund their shop's orders.
3434

3535
With GBAC, this system becomes simple to implement. GBAC can natively reflect the relationships between the users, shops and orders. This extra level of native abstraction saves you from creating shop-specific roles.
3636

0 commit comments

Comments
 (0)