Changes component from block syntax to inline. Add property for creating a new PrivacyCompliancePolicy and SecuritySpecification for statasets without either
{{/dataset-access}}
</div>
<div id="compliancetab" class="tab-pane">
- {{#dataset-compliance securitySpec=securitySpec
+ {{dataset-compliance privacyCompliancePolicy=privacyCompliancePolicy
+ isNewPrivacyCompliancePolicy=isNewPrivacyCompliancePolicy
datasetSchemaFieldsAndTypes=datasetSchemaFieldsAndTypes
- onSave=(action "saveSecuritySpec")
- onReset=(action "getSecuritySpec")}}
- {{/dataset-compliance}}
+ onSave=(action "savePrivacyCompliancePolicy")
+ onReset=(action "resetPrivacyCompliancePolicy")}}
</div>
<div id="confidentialtab" class="tab-pane">
- {{#dataset-confidential securitySpec=securitySpec
+ {{dataset-confidential securitySpecification=securitySpecification
+ isNewSecuritySpecification=isNewSecuritySpecification
datasetSchemaFieldsAndTypes=datasetSchemaFieldsAndTypes
- onSave=(action "saveSecuritySpec")
- onReset=(action "getSecuritySpec")}}
- {{/dataset-confidential}}
+ onSave=(action "saveSecuritySpecification")
+ onReset=(action "resetSecuritySpecification")}}
</div>
</div>
{{else}}
</div>
<div id="accessview" class="panel-collapse collapse" role="tabpanel" aria-labelledby="complianceHeading">
<div class="panel-body">
- {{#dataset-compliance datasetSchemaFieldsAndTypes=datasetSchemaFieldsAndTypes
- securitySpec=securitySpec
- onSave=(action "saveSecuritySpec")
- onReset=(action "getSecuritySpec")}}
- {{/dataset-compliance}}
+ {{dataset-compliance privacyCompliancePolicy=privacyCompliancePolicy
+ isNewPrivacyCompliancePolicy=isNewPrivacyCompliancePolicy
+ datasetSchemaFieldsAndTypes=datasetSchemaFieldsAndTypes
+ onSave=(action "savePrivacyCompliancePolicy")
+ onReset=(action "resetPrivacyCompliancePolicy")}}
</div>
</div>
</div>
<div id="accessview" class="panel-collapse collapse" role="tabpanel"
aria-labelledby="confidentialHeading">
<div class="panel-body">
- {{#dataset-confidential securitySpec=securitySpec
+ {{dataset-confidential securitySpecification=securitySpecification
+ isNewSecuritySpecification=isNewSecuritySpecification
datasetSchemaFieldsAndTypes=datasetSchemaFieldsAndTypes
- onSave=(action "saveSecuritySpec")
- onReset=(action "getSecuritySpec")}}
- {{/dataset-confidential}}
+ onSave=(action "saveSecuritySpecification")
+ onReset=(action "resetSecuritySpecification")}}
</div>
</div>
</div>
