Add REST permissions for terminal user to standard db script