Revert "uses temp tables to test datastore permissions"
Merge pull request #1973 from OCHA-DAP/revert-1969-1837-fixes-datastore-db-privilege-test

Revert "uses temp tables to test datastore permissions"
Merge pull request #1974 from OCHA-DAP/dev

Dev into Stag