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,
|
||||
identifierType,
|
||||
logicalType,
|
||||
classification
|
||||
securityClassification: classification
|
||||
}));
|
||||
// Fields that do not have a logicalType, and no identifierType or identifierType is `fieldIdentifierTypes.none`
|
||||
const { formatted, unformatted } = datasetFields.reduce(
|
||||
@ -593,8 +593,8 @@ export default Component.extend({
|
||||
unformattedComplianceEntities = unformatted.map(({ identifierField }) => ({
|
||||
identifierField,
|
||||
identifierType: fieldIdentifierTypes.none.value,
|
||||
logicalType: void 0,
|
||||
classification: void 0
|
||||
logicalType: null,
|
||||
securityClassification: null
|
||||
}));
|
||||
|
||||
isConfirmed = confirm(
|
||||
|
@ -19,7 +19,7 @@ export default Ember.Controller.extend({
|
||||
latestVersion: '0',
|
||||
ownerTypes: [],
|
||||
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() {
|
||||
var model = this.get('model');
|
||||
if (model) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user