Skip to content

Commit 753aaf9

Browse files
committed
fix(rbac): correct constant name in role permissions map
- Fixed typo in DashboardUserRole enum value - Changed 'DashboardUser-Role.admin' to 'DashboardUserRole.admin' - This correction ensures proper mapping of admin permissions to the correct role
1 parent dd5af06 commit 753aaf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/rbac/role_permissions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ final Map<Enum, Set<String>> rolePermissions = {
6666
// Dashboard Roles
6767
DashboardUserRole.none: {},
6868
DashboardUserRole.publisher: _dashboardPublisherPermissions,
69-
DashboardUser-Role.admin: _dashboardAdminPermissions,
69+
DashboardUserRole.admin: _dashboardAdminPermissions,
7070
};

0 commit comments

Comments
 (0)