Implement custom roles and improve permissions logic
The commit refactors the handling of account roles and enhances permissions checks. The account role has been shifted to use a string type, providing the ability to define custom roles. It also introduces the RolesDataProvider component, which stipulates role-related data for different forms and tables. The modification goes further to consider user role hierarchy in permissions checks, offering a more granular access control.
This commit is contained in:
@@ -20,11 +20,13 @@ The roadmap for the project is as follows:
|
||||
## Features
|
||||
|
||||
- **Authentication**: Sign up, sign in, sign out, forgot password, update profile, and more.
|
||||
- **Billing**: Subscription management, payment methods, invoices, and more.
|
||||
- **Billing**: Subscription management, one-off payments, flat subscriptions, per-seat subscriptions, and more.
|
||||
- **Personal Account**: Manage your account, profile picture, and more.
|
||||
- **Team Accounts**: Invite members, manage roles, and more.
|
||||
- **Team Accounts**: Invite members, manage roles, and more. Manage resources within a team.
|
||||
- **RBAC**: Simple-to-use role-based access control. Customize roles and permissions (coming soon).
|
||||
- **Admin Dashboard**: Manage users, subscriptions, and more.
|
||||
- **Pluggable**: Easily add new features and packages to your SaaS application.
|
||||
- **Super UI**: Beautiful UI using Shadcn UI and Tailwind CSS.
|
||||
|
||||
The most notable difference between this version and the original version is the use of Turborepo to manage multiple packages in a single repository.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user