mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-13 09:54:10 +00:00
Merges front-end changes from master -> DSS-5178 DSS-5577 DSS-5677 DSS-5277 DSS-5677
This commit is contained in:
parent
3c6415390a
commit
02cbf8377a
@ -1485,7 +1485,7 @@
|
|||||||
<div class="field-names">
|
<div class="field-names">
|
||||||
<h4>Field Names</h4>
|
<h4>Field Names</h4>
|
||||||
<input type="text"
|
<input type="text"
|
||||||
id="compliance-typeahead"
|
id="confidential-typeahead"
|
||||||
class="field-search__input form-control"
|
class="field-search__input form-control"
|
||||||
placeholder="Filter field names...">
|
placeholder="Filter field names...">
|
||||||
</div>
|
</div>
|
||||||
|
@ -156,8 +156,14 @@ App.DatasetRoute = Ember.Route.extend({
|
|||||||
* @param {number} id
|
* @param {number} id
|
||||||
*/
|
*/
|
||||||
const createSecuritySpecification = id => {
|
const createSecuritySpecification = id => {
|
||||||
|
const classification = [
|
||||||
|
'highlyConfidential', 'confidential', 'limitedDistribution', 'mustBeEncrypted', 'mustBeMasked'
|
||||||
|
].reduce((classification, classifier) => {
|
||||||
|
classification[classifier] = [];
|
||||||
|
return classification;
|
||||||
|
}, {});
|
||||||
const securitySpecification = {
|
const securitySpecification = {
|
||||||
classification: null,
|
classification,
|
||||||
datasetId: id,
|
datasetId: id,
|
||||||
geographicAffinity: {affinity: ''},
|
geographicAffinity: {affinity: ''},
|
||||||
recordOwnerType: '',
|
recordOwnerType: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user