diff --git a/wherehows-web/app/templates/components/dataset-compliance.hbs b/wherehows-web/app/templates/components/dataset-compliance.hbs index 03051d975f..55ac07a5d1 100644 --- a/wherehows-web/app/templates/components/dataset-compliance.hbs +++ b/wherehows-web/app/templates/components/dataset-compliance.hbs @@ -1,5 +1,5 @@
- {{#if privacyCompliancePolicy}} + {{!--{{#if privacyCompliancePolicy}} {{#if isNewPrivacyCompliancePolicy}}
This dataset does not have an associated "Privacy Compliance Policy".
@@ -80,6 +80,117 @@
{{else}}

An error occurred: Privacy Compliance Policy is not available.

+ {{/if}}--}} +
+
+

Can any fields in this dataset's schema be used to identify a member?

+
+ + {{#radio-button-composer + value=true + name="has-member" + groupValue=(readonly radioSelection.memberId) + changed=(action 'didChangePrivacyIdentifiable')}} + Yes + {{/radio-button-composer}} + {{#radio-button-composer + value=false + name="has-member" + groupValue=(readonly radioSelection.memberId) + changed=(action 'didChangePrivacyIdentifiable')}} + No + {{/radio-button-composer}} + +
+ + {{#if showSubjectMemberIdPrompt}} +
+
+

+ If there are no owner member fields, does each record in this dataset belong to a specific member or members? +

+
+ + {{#radio-button-composer + value=true + name="has-subject-member" + groupValue=(readonly radioSelection.subjectMemberId) + changed=(action 'didChangePrivacyIdentifiable')}} + Yes + {{/radio-button-composer}} + {{#radio-button-composer + value=false + name="has-subject-member" + groupValue=(readonly radioSelection.subjectMemberId) + changed=(action 'didChangePrivacyIdentifiable')}} + No + {{/radio-button-composer}} + +
{{/if}} + + {{#if showUrnIdPrompt}} +
+
+

When a record in this dataset is deleted, do any fields identify records from other dependent datasets that + should be deleted?

+
+ + {{#radio-button-composer + value=true + name="has-urn" + groupValue=(readonly radioSelection.urnId) + changed="didChangePrivacyIdentifiable"}} + Yes + {{/radio-button-composer}} + {{#radio-button-composer + value=false + name="has-urn" + groupValue=(readonly radioSelection.urnId) + changed="didChangePrivacyIdentifiable"}} + No + {{/radio-button-composer}} + +
+ {{/if}} + + {{#if showOrgIdPrompt}} +
+
+

Do fields in the schema contain the ID of an organization?

+
+ + {{#radio-button-composer + value=true + name="has-organization" + groupValue=(readonly radioSelection.orgId) + changed="didChangePrivacyIdentifiable"}} + Yes + {{/radio-button-composer}} + {{#radio-button-composer + value=false + name="has-organization" + groupValue=(readonly radioSelection.orgId) + changed="didChangePrivacyIdentifiable"}} + No + {{/radio-button-composer}} + +
+ {{/if}} + + {{dataset-schema-table + sortColumnWithName=sortColumnWithName + filterBy=filterBy + sortDirection=sortDirection + searchTerm=searchTerm + fields=complianceFields + fieldFormats=identifierTypes + onFormatChange=(action "onFieldFormatChange") + onPrivacyChange=(action "onFieldPrivacyChange")}} + + + -{{yield}} +{{yield}} \ No newline at end of file diff --git a/wherehows-web/app/templates/components/dataset-confidential.hbs b/wherehows-web/app/templates/components/dataset-confidential.hbs index 7a5b831e41..a23933d50e 100644 --- a/wherehows-web/app/templates/components/dataset-confidential.hbs +++ b/wherehows-web/app/templates/components/dataset-confidential.hbs @@ -1,108 +1,8 @@
- {{#if securitySpecification}} - {{#if isNewSecuritySpecification}} -
- This dataset does not have an associated "Security Specification".
- To create one update fields as required and click the "Create" button below. -
- {{/if}} - - - - -
-
-

Field Names

- -
-

Data Type

+
{{yield}}