CDB-2891 Joined table DB grant with Permission