[PDI-11841] Update Unit Tests. Add interface for mapping permissions