From a4d1ecd4676432f6384270d80cf3ec7c6c905bbc Mon Sep 17 00:00:00 2001
From: rohit-yawalkar <82825674+rohit-yawalkar@users.noreply.github.com>
Date: Tue, 26 Jul 2022 19:18:16 +0530
Subject: [PATCH] BAH-1620 - | Rohit | - Adds OT: Full Access role for superman
user
---
openmrs/migrations/liquibase.xml | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/openmrs/migrations/liquibase.xml b/openmrs/migrations/liquibase.xml
index ffefbfce7..7e44c64ad 100644
--- a/openmrs/migrations/liquibase.xml
+++ b/openmrs/migrations/liquibase.xml
@@ -85,8 +85,19 @@
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 role for superman user
+
+ insert into user_role(user_id, role) values((select user_id from users where username='superman'), 'OT: FullAccess');
+
+
+
+
+
+