Skip to content

Commit a00b365

Browse files
authored
blog: update stack-auth blog (#405)
1 parent 07df893 commit a00b365

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

blog/stackauth-multitenancy/index.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ The target application we'll build is a Todo List. Its core functionalities are
4646
- Regular members have full access to the todo lists they own.
4747
- Regular members can view the other members' todo lists and manage their content, as long as the list is not private.
4848

49-
Besides Next.js and StackAuth, we'll build the app with two other essential pieces of weapon:
49+
The essential weapons we'll use to build the app are:
5050

51-
- [Prisma](https://prisma.io): the ORM
52-
- [ZenStack](https://zenstack.dev): the access control layer on top of Prisma
51+
- [Next.js](https://nextjs.org/): the full-stack framework
52+
- [StackAuth](https://stack-auth.com/): user authentication and team management
53+
- [Prisma](https://prisma.io): the ORM that we use to talk to the database
54+
- [ZenStack](https://zenstack.dev): the authorization layer above Prisma that handles data segregation and access control
5355

5456
You can find the link of the completed project at the end of the post.
5557

@@ -89,6 +91,8 @@ With this one-liner, you'll have a set of fully working UI components for managi
8991

9092
![Team Management](./team-management.png)
9193

94+
Although StackAuth made it effortless to add "teams" feature into an app, it's up to you to determine how to use the user and team information to control data access. We'll see how to connect it with Prisma/ZenStack to achieve proper authorization.
95+
9296
## Setting up the database
9397

9498
Our user and team data are stored on StackAuth's side. We need to store the todo lists and items in our own database. In this section, we'll set up Prisma and ZenStack and create the database schema.

0 commit comments

Comments
 (0)