JBTM-2272 fix to add doPrivilidged blocks

NO_TEST