diff --git a/openmrs/migrations/liquibase.xml b/openmrs/migrations/liquibase.xml index ffefbfce7..80960f375 100644 --- a/openmrs/migrations/liquibase.xml +++ b/openmrs/migrations/liquibase.xml @@ -85,6 +85,28 @@ INSERT INTO location_tag_map(location_id, location_tag_id) VALUES(@location_id, @location_tag_id); + + + + SELECT count(*) from user_role WHERE user_id = (select user_id from users where username='superman') AND role = 'OT: FullAccess'; + + + Add OT FullAccess role for superman + + INSERT INTO user_role(user_id, role) values((SELECT user_id FROM users where username='superman'), 'OT: FullAccess'); + + + + + + SELECT count(*) from user_role WHERE user_id = (select user_id from users where username='superman') AND role = 'Appointments:FullAccess'; + + + Add Appointment FullAccess role to superman + + INSERT INTO user_role(user_id, role) values((SELECT user_id FROM users where username='superman'), 'Appointments:FullAccess'); + +