Add database permissions unit tests to CICD