Your dog should never eat grapes. Consumption of grapes can lead to serious illness and in some cases even death.
Dogs can eat cat food, but it is not advisable for them long term. Cats are carnivores, so their food is extremely high in fat and protein.
A dog can safely eat a vegan diet. Dogs are omnivores, just like their human counterparts, and can thrive while eating plant based.