For creating users with roles like Doctor, Community health worker(CHW) and Registration clerk in different environments, as a short term solution, we could use the sqls attached in this page to create such roles with appropriate privileges..i.e we could export the sqls & update it to map the roles and the required privileges

The basic Roles are as below :