For some reason it checks if the roles are alredy filled in. But roles can be empty now, so instead we also check if privileges are empty.
For some reason it checks if the roles are alredy filled in. But roles can be empty now, so instead we also check if privileges are empty.