REVOKE connect ON DATABASE ebhome_patient_db FROM PUBLIC; GRANT connect ON DATABASE ebhome_patient_db TO ebhomepatient;