Everyone cane add a little turmeric in a daily alimentantion but of course, all the good things have disadvantages.
Here is a list of possible side effects that have been associated with turmeric.
It is recommended to discontinue taking turmeric supplements 2 weeks prior to surgery. This is because it is said that turmeric, due to its anti-coagulant effect, may increase bleeding time in surgery.
However this applies to turmeric supplements and not dietary turmeric.
After surgery, you can start taking turmeric in diet, especially Turmeric Milk, once you are discharged and your digestion has stabilised. This will help in recovery.
Avoid or limit intake of turmeric in kidney stones or disorder because turmeric, as a spice, is high in oxalates. Oxalates are one of the components that cause kidney stones. So if you are at a risk of developing kidney stones and already have a high or close to the limit oxalate dietary load, then yes turmeric as a spice could add to this load and increase the risk of developing kidney stones.
However by itself turmeric cannot cause kidney stones. For more details on this please read Does Turmeric Cause Kidney Stones?
Turmeric, as a spice, is high in potassium levels. In case of kidney disorders it is advised to limit potassium intake; so if you are already having potassium from other sources in diet, then taking turmeric may add to it.