feat: implement admin authentication, role-based permissions, and backoffice layout components

This commit is contained in:
2026-10-17 12:21:55 +02:00
parent edcb229c42
commit 3126a8ac36
15 changed files with 2548 additions and 50 deletions

View File

@@ -61,6 +61,8 @@ async function main() {
email: 'admin@afrohub.com',
password: hashedPassword,
role: UserRole.ADMIN,
adminRole: 'SUPER_ADMIN',
adminPermissions: [],
}
});