[#290] Make sure that we don't have the test_readonly table in permissions check