remove unused role ROLE_CUSTOMER (#712)

This commit is contained in:
Kevin Papst
2019-04-19 18:42:25 +02:00
committed by GitHub
parent 48f3ad842d
commit 32b36f42f0
15 changed files with 1 additions and 48 deletions

View File

@@ -14,16 +14,12 @@ use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
/**
* Class RoleValidator
*/
class RoleValidator extends ConstraintValidator
{
/**
* @var string[]
*/
protected $allowedRoles = [
User::ROLE_CUSTOMER,
User::ROLE_USER,
User::ROLE_TEAMLEAD,
User::ROLE_ADMIN,