knowledgesystems / cmo-pipelines

GNU Affero General Public License v3.0
3 stars 10 forks source link

remove importer calls to --update-group #1146

Closed sheridancbio closed 6 months ago

sheridancbio commented 6 months ago

--update-group calls a portion of the dao code in pipelines which tries to update the groups field in the cancer_study table.

'groups' is now a reserved word under mysql8, so the SQL in pipelines fails.

This change avoids invoking the broken code (which should also be either fixed or removed from pipelines), and the function is no longer needed for the msk portal because study visibility is now determined by keycloak roles for the user, no the groups field in cancer_study.