mariabd의 longtext의 JSON이 "데이터베이스 값을 원칙 유형 json으로 변환할 수 없습니다"를 반환합니다. Symfony 5, 나는 나의 글을 쓴다.User엔티티 코드: https://symfony.com/doc/current/security.html#denying-access-roles-and-other-authorization 그리고 나는 mariadb를 사용한다. public function getRoles(): array { $roles[] = $this->roles; // guarantee every user at least has ROLE_USER $roles[] = 'ROLE_USER'; return array_unique($roles); } 그리고 역할을 가진 사용자를 수동..