The largest union in Canada has issued a warning that recent federal government proposals are targeting workers' rights.