diff --git a/sites/mugamba/configs/openmrs/initializer_config/liquibase/liquibase.xml b/sites/mugamba/configs/openmrs/initializer_config/liquibase/liquibase.xml index faa93a7..9620a54 100644 --- a/sites/mugamba/configs/openmrs/initializer_config/liquibase/liquibase.xml +++ b/sites/mugamba/configs/openmrs/initializer_config/liquibase/liquibase.xml @@ -42,6 +42,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -101,6 +140,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -163,6 +276,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Add Mugamba User roles to database + + + SET foreign_key_checks = 0; + + + + + + + + + + + + + + + + + + + + + + + + + SET foreign_key_checks = 1; diff --git a/sites/mugamba/configs/openmrs/initializer_config/privileges/test_user_priviledges.csv b/sites/mugamba/configs/openmrs/initializer_config/privileges/test_user_priviledges.csv new file mode 100644 index 0000000..3d6bde1 --- /dev/null +++ b/sites/mugamba/configs/openmrs/initializer_config/privileges/test_user_priviledges.csv @@ -0,0 +1,9 @@ +Uuid,Privilege name,Description,_order:1000 +2b1c9c76-4c23-434a-ba84-88c2a86cc2d3,Patient Registration,Patient Registration, +e8e2c87a-c8b1-4205-b336-ea96683450f3,View Patient Queues,View Patient Queues, +11fc36d4-bf0d-4dde-b805-a7d9d4d75270,Manage Appointments,Manage Appointments, +2e733eac-3767-4d1f-b080-2a8837210321,Patient Summary ,Patient Summary , +9150fc52-1480-4104-8c01-dd9a975dedbb,Lab Feature,Lab Feature, +71146449-1896-4b5d-a71e-30ae2d710b83,Pharmacy,Pharmacy, +a8715d1f-a719-4167-929c-870e267e7c07,Dispensing Features,Dispensing Features, +9719b330-b465-48f2-9a79-24c7879cfc85,Billing Feature,Billing Feature, diff --git a/sites/mugamba/configs/openmrs/initializer_config/roles/test_user_roles.csv b/sites/mugamba/configs/openmrs/initializer_config/roles/test_user_roles.csv new file mode 100644 index 0000000..7f04274 --- /dev/null +++ b/sites/mugamba/configs/openmrs/initializer_config/roles/test_user_roles.csv @@ -0,0 +1,7 @@ +Uuid,Role name,Description,Inherited roles,Privileges,_order:1000 +09be6e1c-6c9d-43de-b828-55ee5c67a42f,Registration Officer,Registration Officer,,Patient Registration;View Patient Queues;Manage Appointments, +42352ea1-1b02-4a1d-a043-69e25d76bc80,Nurse,Nurse,Registration Officer,Patient Summary, +c7b9c7b2-5b07-4897-93ec-4e3fbfa7a16b,Doctor,Doctor,Nurse,, +82a54bb7-0404-4c8c-95d5-c87c76ff5be8,Lab Technician,Lab Technician,,Lab Feature, +0dd299d4-6563-4f90-81d5-45624686a273,Pharmacist,Pharmacist,,Dispensing Features;Pharmacy, +530c0a04-53ac-4627-adcf-0e08865e57dc,Cashier,Cashier,,Billing Feature,