Unions representation of employees

Since unions represent all employees in the bargaining units they have organized, should they be allowed to endorse particular candidates for office? Explain.