Replaced all calls to canManageTeam() with rights checks.