The Spanish government on Thursday approved a law that classifies food delivery riders as employees of the companies they work for. The law is meant to protect the workers and ensure they get better pay during low-demand hours. Before the law was approved, companies operating food delivery apps had classified these riders as self-employed. The change could have far-reaching effects on Spanish businesses. The new law also requires the companies to provide labor unions with details about their digital processes. That includes how company algorithms and AI systems assign jobs, judge worker performance and do other things. Popular digital food delivery companies operating in Spain include Glovo, Deliveroo and Uber Eats.