Skip to content

Commit

Permalink
add option for GB country (#4628)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDMurphy authored Feb 22, 2024
1 parent 7774313 commit 303abec
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ The types of changes are:

## [Unreleased](https://github.com/ethyca/fides/compare/2.30.1...main)

### Added
- Add Great Britain as a consent option [#4628](https://github.com/ethyca/fides/pull/4628)

## [2.30.1](https://github.com/ethyca/fides/compare/2.30.0...2.30.1)

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const PRIVACY_NOTICE_REGION_RECORD: Record<PrivacyNoticeRegion, string> =
[PrivacyNoticeRegion.SK]: "Slovakia (EU)",
[PrivacyNoticeRegion.FI]: "Finland (EU)",
[PrivacyNoticeRegion.SE]: "Sweden (EU)",
[PrivacyNoticeRegion.GB]: "Great Britain",
[PrivacyNoticeRegion.GB_ENG]: "England",
[PrivacyNoticeRegion.GB_SCT]: "Scotland",
[PrivacyNoticeRegion.GB_WLS]: "Wales",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export enum PrivacyNoticeRegion {
SK = "sk",
FI = "fi",
SE = "se",
GB = "gb",
GB_ENG = "gb_eng",
GB_SCT = "gb_sct",
GB_WLS = "gb_wls",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export enum PrivacyNoticeRegion {
SK = "sk",
FI = "fi",
SE = "se",
GB = "gb",
GB_ENG = "gb_eng",
GB_SCT = "gb_sct",
GB_WLS = "gb_wls",
Expand Down
1 change: 1 addition & 0 deletions src/fides/api/models/privacy_notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class UserConsentPreference(Enum):
("sk", "sk"), # slovakia
("fi", "fi"), # finland
("se", "se"), # sweden
("gb", "gb"), # great britain
("gb_eng", "gb_eng"), # england
("gb_sct", "gb_sct"), # scotland
("gb_wls", "gb_wls"), # wales
Expand Down
1 change: 1 addition & 0 deletions src/fides/api/util/consent_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ def create_default_experience_config(
PrivacyNoticeRegion.sk,
PrivacyNoticeRegion.fi,
PrivacyNoticeRegion.se,
PrivacyNoticeRegion.gb,
PrivacyNoticeRegion.gb_eng,
PrivacyNoticeRegion.gb_sct,
PrivacyNoticeRegion.gb_wls,
Expand Down

0 comments on commit 303abec

Please sign in to comment.