mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-22 08:08:01 +00:00
fixes saving compliance policy: misrepresented securityClassification as classification. renames people urns
This commit is contained in:
parent
2ee59eea01
commit
af62c93d4e
@ -569,7 +569,7 @@ export default Component.extend({
|
|||||||
identifierField,
|
identifierField,
|
||||||
identifierType,
|
identifierType,
|
||||||
logicalType,
|
logicalType,
|
||||||
classification
|
securityClassification: classification
|
||||||
}));
|
}));
|
||||||
// Fields that do not have a logicalType, and no identifierType or identifierType is `fieldIdentifierTypes.none`
|
// Fields that do not have a logicalType, and no identifierType or identifierType is `fieldIdentifierTypes.none`
|
||||||
const { formatted, unformatted } = datasetFields.reduce(
|
const { formatted, unformatted } = datasetFields.reduce(
|
||||||
@ -593,8 +593,8 @@ export default Component.extend({
|
|||||||
unformattedComplianceEntities = unformatted.map(({ identifierField }) => ({
|
unformattedComplianceEntities = unformatted.map(({ identifierField }) => ({
|
||||||
identifierField,
|
identifierField,
|
||||||
identifierType: fieldIdentifierTypes.none.value,
|
identifierType: fieldIdentifierTypes.none.value,
|
||||||
logicalType: void 0,
|
logicalType: null,
|
||||||
classification: void 0
|
securityClassification: null
|
||||||
}));
|
}));
|
||||||
|
|
||||||
isConfirmed = confirm(
|
isConfirmed = confirm(
|
||||||
|
@ -19,7 +19,7 @@ export default Ember.Controller.extend({
|
|||||||
latestVersion: '0',
|
latestVersion: '0',
|
||||||
ownerTypes: [],
|
ownerTypes: [],
|
||||||
datasetSchemaFieldsAndTypes: [],
|
datasetSchemaFieldsAndTypes: [],
|
||||||
userTypes: [{ name: 'Corporate User', value: 'urn:li:corpuser' }, { name: 'Group User', value: 'urn:li:griduser' }],
|
userTypes: [{ name: 'Corporate User', value: 'urn:li:corpuser' }, { name: 'Group User', value: 'urn:li:corpGroup' }],
|
||||||
isPinot: function() {
|
isPinot: function() {
|
||||||
var model = this.get('model');
|
var model = this.get('model');
|
||||||
if (model) {
|
if (model) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user