File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
blog/stackauth-multitenancy Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff 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
5456You 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
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
9498Our 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.
You can’t perform that action at this time.
0 commit comments