add chat user roles and login

This commit is contained in:
team 1
2026-05-11 11:33:03 +02:00
parent 3c5de0d8e6
commit 83ac6d600e
9 changed files with 312 additions and 71 deletions

View File

@@ -16,7 +16,7 @@ use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
#[AsCommand(
name: 'mto:agent:user:create',
description: 'Creates a new admin user'
description: 'Creates a new application user'
)]
class CreateUserCommand extends Command
{
@@ -79,7 +79,8 @@ class CreateUserCommand extends Command
'ROLE_SUPER_ADMIN',
'ROLE_KNOWLEDGE_ADMIN',
'ROLE_EDITOR',
'ROLE_USER',
'ROLE_ADMIN_AREA',
'ROLE_CHAT_USER',
],
0
);