nextjs-sessionauth-template icon indicating copy to clipboard operation
nextjs-sessionauth-template copied to clipboard

feat: Implemented role based access control

Open siddiquiaffan opened this issue 1 year ago • 3 comments

Description

Implemented role-based access control (RBAC) to enhance user convenience.

Files changed/added:

  • src/components/auth/withPermissionCheck.tsx
  • src/lib/auth/check-access.ts
  • src/lib/auth/index.ts
  • src/server/db/schema.ts

siddiquiaffan avatar Aug 17 '24 09:08 siddiquiaffan

@siddiquiaffan is attempting to deploy a commit to the touha98's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 17 '24 09:08 vercel[bot]

@iamtouha, please take a look at this. I've also implemented the admin dashboard, but I'm waiting for this to be approved. After approval, I'll create a separate PR for it.

siddiquiaffan avatar Aug 17 '24 09:08 siddiquiaffan

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
t3-lucia-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 7:24am

vercel[bot] avatar Sep 10 '24 07:09 vercel[bot]