issues
search
tsahil01
/
ai-subtitles-generator
A Saas application which generates transcription & subtitles in multiple language.
0
stars
0
forks
source link
Implement Role-Based Access Control (RBAC)
#7
Open
tsahil01
opened
2 weeks ago
tsahil01
commented
2 weeks ago
Description:
Create roles (
free
,
premium
,
admin
) and restrict features accordingly.
Tasks:
[ ] Update the
User
model in Prisma to include a role field.
[ ] Add middleware in API routes to check user role permissions.
[ ] Test access control by trying to access restricted routes with different roles.
tsahil01
commented
1 day ago
I think no need of this currently
free
,premium
,admin
) and restrict features accordingly.User
model in Prisma to include a role field.