From a4fc44c9d38c75e9ee982d8f8ad6c1882abbe81d Mon Sep 17 00:00:00 2001 From: bhatiadheeraj Date: Fri, 25 Aug 2023 21:39:44 +0000 Subject: [PATCH 1/2] dua - datasets -> template, update text --- ui/src/assets/consents.js | 19 ++++++++----------- ui/src/projectedit.vue | 2 +- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ui/src/assets/consents.js b/ui/src/assets/consents.js index 1ac15f71..3c9c1142 100644 --- a/ui/src/assets/consents.js +++ b/ui/src/assets/consents.js @@ -33,25 +33,22 @@ brainlife.io is a publicly funded, community-driven project that is run by indiv exports.brainlife_dua = ` Data Use Agreement for [Dataset Name] - -Due to the sensitive nature of the dataset and to protect the confidentiality and privacy of data subjects, data protection pseudonymization (defacing) has been applied. This agreement governs the use of this pseudonymized dataset. A user who accesses this data agrees to be bound by its terms. - +Due to the sensitive nature of the dataset and to protect the confidentiality and privacy of data subjects, data protection pseudonymization (defacing) has been applied. This agreement governs the use of this pseudonymized dataset. A user who accesses this data agrees to be bound by its terms. Users agree to the following conditions of use: As a user of the dataset, you are the data controller of this dataset at the point of download. This means that you control the purposes and means of processing this specific dataset and therefore you have the responsibility to: • Protect the privacy and confidentiality of the data subjects at all times - • Never to attempt to re-identify the data subjects by any means or technology - • Never to transfer this data to another user + • Never attempt to re-identify the data subjects by any means or technology + • Never transfer this data to another user • Report cases of data breach and incidental findings to the data provider -Furthermore, by downloading the dataset the controller agrees that the following statement will always accompany any public use of the data (for an analysis, publication, blog, slides presentation or similar): +Furthermore, by downloading the dataset the controller agrees that the following statement will always accompany any public use of the data (for an analysis, publication, blog, slide presentation, or similar): -Data provided in part by This publication benefitted at least in part from the use of data or technology provided by brainlife.io (NSF BCS 1734853 to Franco Pestilli). These data were managed and processed using brainlife.io (Hayashi, Caron Heinsfeld et al., in review, DOI:10.48550/arXiv.2306.02183) +Data provided in part by This publication benefitted at least in part from the use of data or technology provided by brainlife.io (NSF BCS 1734853 to Franco Pestilli). These data were managed and processed using brainlife.io (Hayashi, Caron, Heinsfeld, et al., in review, DOI:10.48550/arXiv.2306.02183) Relevant Definitions -Data Controller: A natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of personal data. +Data Controller: A natural or legal person, public authority, agency, or other body that, alone or jointly with others, determines the purposes and means of the processing of personal data. Data Providers: -Data Processing: Any operation or set of operations performed on personal data including data download, storage, analysis, pseudonymization, anonymization, data transfer, etc. -Pseudonymization: The processing of personal data in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that such additional information is kept separately and is subject to technical and organizational measures to ensure that the personal data are not attributed to an identified or identifiable natural person. - +Data Processing: Any operation or set of operations performed on personal data including data download, storage, analysis, pseudonymization, anonymization, data transfer, etc. +Pseudonymization: The processing of personal data in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that such additional information is kept separately and is subject to technical and organizational measures to ensure that the personal data are not attributed to an identified or identifiable natural person. `; \ No newline at end of file diff --git a/ui/src/projectedit.vue b/ui/src/projectedit.vue index 85acdf3f..03c79db8 100644 --- a/ui/src/projectedit.vue +++ b/ui/src/projectedit.vue @@ -115,7 +115,7 @@ - Brainlife Data Use Agreement - Dataset + Brainlife Data Use Agreement - Template
From ad98486625475c12c0296eba4f5b6b4376dfa2e0 Mon Sep 17 00:00:00 2001 From: bhatiadheeraj Date: Fri, 8 Sep 2023 21:19:06 +0000 Subject: [PATCH 2/2] update the script --- api/controllers/dataset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/dataset.js b/api/controllers/dataset.js index 5abd4d8a..27f8d412 100644 --- a/api/controllers/dataset.js +++ b/api/controllers/dataset.js @@ -1569,7 +1569,7 @@ ${p.desc}`; //download info.json script += "curl "; if(req.headers.authorization) script += "-H \"$auth\" "; - script += config.warehouse.url+"/api/warehouse/dataset?single=true\\&find='\\{\"_id\":\""+dataset._id+"\"\\}' > "+path+"/_info.json\n"; + script += config.warehouse.url+"/api/warehouse/dataset?single=true\\&find='\\{\"_id\":\""+dataset._id+"\"\\}' > '"+path+"/_info.json'\n"; if(dataset.datatype.bids) { //Create BIDS symlinks