feat: implement admin authentication, role-based permissions, and backoffice layout components
This commit is contained in:
@@ -61,6 +61,8 @@ async function main() {
|
||||
email: 'admin@afrohub.com',
|
||||
password: hashedPassword,
|
||||
role: UserRole.ADMIN,
|
||||
adminRole: 'SUPER_ADMIN',
|
||||
adminPermissions: [],
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user