I question the wisdom of your plan in general. Bathrooms are very damp places, even well ventilated. Cedar won't rot as readily as other woods, but it will suck up a lot of that moisture. Bathroom are usually small. and cedar is dark, so that will make a small room seem even smaller. But if you must, definitely install a moisture barrier under the cedar.