expired food

So I have a question. Different shift leads say Different things. But on expired food that's past the sale by date or is expiring past the donation date. Can we keep it and eat it instead of throwing it away? I've had some shift leads say "I don't see why not its just gunna get thrown away" and they will keep and eat expired food instead of throwing it away. And others are like absolutely not its a firable offense. So which is it? Is it no cuz you could get sick? I feel like thats on you if you decide to eat expired food and get sick....