Question: are jedi allowed to have friends?
Answer: Yes. A jedi is forbidden to have attechment. It isnt love or friendship they forbid. It is that you put the live's of one person above the life of others.