Users & Roles
User Roles
The application comes with a set of predefined roles. Each role has a different level of access to the application. You can use these roles to manage access to different parts of the application.
If you need to add more roles, you can do so by adding them to the Role
enum in the src/db/schema.prisma
file.
src/db/schema.prisma
enum Role {
ADMIN
USER
}
Team Roles
The application comes with a set of predefined team roles. Each team role has a different level of access to the application.
src/db/schema.prisma
enum TeamMemberRole {
MEMBER
BILLING
ADMIN
OWNER
}
SuperAdmin
The SuperAdmin is the highest level of access in the application. They have access to all features and can manage all users and roles.