updated to set inheritpermissions for any DvObjectContainer