diff --git a/scripts/blaise/add_cma_serverpark.ps1 b/scripts/blaise/add_cma_serverpark.ps1 index ff935325..d3488289 100644 --- a/scripts/blaise/add_cma_serverpark.ps1 +++ b/scripts/blaise/add_cma_serverpark.ps1 @@ -15,7 +15,7 @@ function ServerParkExists { -port:$env:ENV_BLAISE_CONNECTION_PORT ` -user:$env:ENV_BLAISE_ADMIN_USER ` -password:$env:ENV_BLAISE_ADMIN_PASSWORD ` - | findstr -i "cma" + | findstr -i "$ServerParkName" If ([string]::IsNullOrEmpty($exists)) { return $false diff --git a/scripts/blaise/user_roles/user_roles.json b/scripts/blaise/user_roles/user_roles.json index 6fe2c7bc..226e3a92 100644 --- a/scripts/blaise/user_roles/user_roles.json +++ b/scripts/blaise/user_roles/user_roles.json @@ -432,5 +432,41 @@ "Appfeatures.viewsurveydetails", "SurveyDataAccess" ] + }, + { + "name": "SVT_Supervisor", + "description": "Role for survey validation team supervisors", + "permissions": [] + }, + { + "name": "SVT_Editor", + "description": "Role for survey validation team editors", + "permissions": [] + }, + { + "name": "FRS_Research", + "description": "Role for family resource survey research team", + "permissions": [] + }, + { + "name": "Field Interviewer", + "description": "Role for Field Interviewers", + "permissions": [ + "Apps", + "AppManagement", + "Apps.Appfeatures", + "Appfeatures.login", + "Appfeatures.getlistofinstruments", + "Appfeatures.installsurvey", + "Appfeatures.removesurvey", + "Appfeatures.startsurvey", + "Appfeatures.browsedata", + "Appfeatures.deletedata", + "Appfeatures.uploaddata", + "Appfeatures.downloadcases", + "Appfeatures.viewsettings", + "Appfeatures.viewsurveydetails", + "SurveyDataAccess" + ] } ] \ No newline at end of file