From bda8f23c0937f04862e6df46808f1f23a15a572d Mon Sep 17 00:00:00 2001 From: Seyi Adebajo Date: Thu, 1 Mar 2018 14:35:29 -0800 Subject: [PATCH] updates wording for member data to types of data. adds non readonly fields to reviewable filter. removes dataset owners from entity header --- .../app/components/dataset-compliance.ts | 11 ++++--- .../-dataset-classification.hbs | 31 ++++++++++++------- .../app/templates/datasets/dataset.hbs | 1 - .../app/utils/datasets/compliance-policy.js | 16 +++++++--- 4 files changed, 36 insertions(+), 23 deletions(-) diff --git a/wherehows-web/app/components/dataset-compliance.ts b/wherehows-web/app/components/dataset-compliance.ts index 49e720fc7c..897ef115e8 100644 --- a/wherehows-web/app/components/dataset-compliance.ts +++ b/wherehows-web/app/components/dataset-compliance.ts @@ -578,7 +578,7 @@ export default class DatasetCompliance extends Component { }); /** - * Determines if all member data fields should be shown in the member data table i.e. show only fields contained in + * Determines if all types of data fields should be shown in the table i.e. show only fields contained in * this dataset or otherwise * @type {ComputedProperty} * @memberof DatasetCompliance @@ -857,12 +857,13 @@ export default class DatasetCompliance extends Component { const formattedAndUnformattedEntities: FormattedAndUnformattedEntities = { formatted: [], unformatted: [] }; // All candidate fields that can be on policy, excluding tracking type fields const changeSetEntities: Array = get(this, 'compliancePolicyChangeSet').map( - ({ identifierField, identifierType = null, logicalType, nonOwner, securityClassification }) => ({ + ({ identifierField, identifierType = null, logicalType, nonOwner, securityClassification, readonly }) => ({ identifierField, identifierType, logicalType, nonOwner, - securityClassification + securityClassification, + readonly }) ); @@ -1028,8 +1029,8 @@ export default class DatasetCompliance extends Component { let willMarkAllAsNo = true; get(this, 'notifications').notify(NotificationEvent.confirm, { - content: 'Are you sure that any this dataset does not contain any of the listed types of member data?', - header: 'Dataset contains no member data', + content: 'Are you sure this dataset does not contain any of the listed types of data?', + header: 'Dataset contains no listed types of data', dialogActions }); diff --git a/wherehows-web/app/templates/datasets/dataset-compliance/-dataset-classification.hbs b/wherehows-web/app/templates/datasets/dataset-compliance/-dataset-classification.hbs index 3897a59827..25438258a7 100644 --- a/wherehows-web/app/templates/datasets/dataset-compliance/-dataset-classification.hbs +++ b/wherehows-web/app/templates/datasets/dataset-compliance/-dataset-classification.hbs @@ -2,8 +2,8 @@