mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-16 11:23:32 +00:00
Merge pull request #1138 from theseyi/purge-na
5489 adds option for purge not applicable
This commit is contained in:
commit
b2da5ea0c2
@ -9,7 +9,8 @@ enum PurgePolicy {
|
|||||||
ManualPurge = 'MANUAL_PURGE',
|
ManualPurge = 'MANUAL_PURGE',
|
||||||
AutoLimitedRetention = 'LIMITED_RETENTION',
|
AutoLimitedRetention = 'LIMITED_RETENTION',
|
||||||
ManualLimitedRetention = 'MANUAL_LIMITED_RETENTION',
|
ManualLimitedRetention = 'MANUAL_LIMITED_RETENTION',
|
||||||
PurgeExempt = 'PURGE_EXEMPTED'
|
PurgeExempt = 'PURGE_EXEMPTED',
|
||||||
|
NotApplicable = 'PURGE_NOT_APPLICABLE'
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -46,8 +47,12 @@ const purgePolicyProps: PurgePolicyProperties = {
|
|||||||
displayAs: 'Manual Limited Retention'
|
displayAs: 'Manual Limited Retention'
|
||||||
},
|
},
|
||||||
PURGE_EXEMPTED: {
|
PURGE_EXEMPTED: {
|
||||||
desc: 'Choose this option only if the dataset is explicitly exempted from purging',
|
desc: 'Choose this option only if the dataset is explicitly exempted from purging.',
|
||||||
displayAs: 'Purge Exempt'
|
displayAs: 'Purge Exempt'
|
||||||
|
},
|
||||||
|
PURGE_NOT_APPLICABLE: {
|
||||||
|
desc: 'Choose this option only if none of the purge policies are applicable.',
|
||||||
|
displayAs: 'Purge Not Applicable'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user