check if someone can edit team or not