-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCF Backend #3804
TCF Backend #3804
Commits on Jul 18, 2023
-
- Privacy Notices are not needed for the TCF Experience. Instead, the content is generated at runtime by looking at what TCF data uses are on current systems. - Add a new experience type: the TCF overlay. - Expands the abilities to retrieve and save consent preferences with respect to "vendors", "data_uses" and "features", not just "privacy notices". - Relaxes constraints on PrivacyPreferenceHistory, ServedNoticeHistory, CurrentPrivacyPreference, and LastServedNotice to use these tables to store when preferences were saved and served against not just notices, but vendors, data uses, and features.
Configuration menu - View commit details
-
Copy full SHA for e33ad96 - Browse repository at this point
Copy the full SHA e33ad96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a06cd1 - Browse repository at this point
Copy the full SHA 7a06cd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19df040 - Browse repository at this point
Copy the full SHA 19df040View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddc0a5d - Browse repository at this point
Copy the full SHA ddc0a5dView commit details -
DRY up code around getting saved and served notices/data uses/feature…
…s/vendors. Improve logic around loading tcf data uses.
Configuration menu - View commit details
-
Copy full SHA for 2c9a7a3 - Browse repository at this point
Copy the full SHA 2c9a7a3View commit details -
Get rid of persisting tcf_details in a jsonb column now that we don't…
… need to track consent mechanism, enforcement level, or has_gpc_flag. - Start drying up code related to saving privacy preferences and unit testing w.r.t data use, vendor, or feature.
Configuration menu - View commit details
-
Copy full SHA for 07eb2dd - Browse repository at this point
Copy the full SHA 07eb2ddView commit details
Commits on Jul 19, 2023
-
Dry up user data collected for consent reporting. Dry up saving that …
…notices were served for various identities. Refactor methods now that we're sharing a lot of code here.
Configuration menu - View commit details
-
Copy full SHA for 59dbe0b - Browse repository at this point
Copy the full SHA 59dbe0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 452e9f3 - Browse repository at this point
Copy the full SHA 452e9f3View commit details -
Add simple tests for consent settings endpoints and adjust permission…
…s on getting settings.
Configuration menu - View commit details
-
Copy full SHA for 445aa4b - Browse repository at this point
Copy the full SHA 445aa4bView commit details -
- Give TCF items a default preference of False.
- Split TCF schemas into their own file - Add test verifying that we can't create PrivacyPreferenceHistory records against multiple preference types. - Rename schemas for saving/serializing that notices were served to be more generic. - Write unit test for saving that tcf items were served.
Configuration menu - View commit details
-
Copy full SHA for 3179a1f - Browse repository at this point
Copy the full SHA 3179a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac051e9 - Browse repository at this point
Copy the full SHA ac051e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f247b - Browse repository at this point
Copy the full SHA f5f247bView commit details
Commits on Jul 21, 2023
-
Refactor to save preferences against a "purpose" which is associated …
…with many data uses, rather than a "data use" directly, as a purpose can be associated with many data uses. - Temporarily pin to a fideslang commit on a branch and pull in the tcf purpose mapping from there.
Configuration menu - View commit details
-
Copy full SHA for b859941 - Browse repository at this point
Copy the full SHA b859941View commit details
Commits on Jul 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 050c651 - Browse repository at this point
Copy the full SHA 050c651View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fbe40e7 - Browse repository at this point
Copy the full SHA fbe40e7View commit details -
Dry up embed_experience_details using new get_related_tcf_contents me…
…thod. - Fix bug with saving current privacy preferences with respect to a special purpose and special feature.
Configuration menu - View commit details
-
Copy full SHA for 8ce5794 - Browse repository at this point
Copy the full SHA 8ce5794View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18b037e - Browse repository at this point
Copy the full SHA 18b037eView commit details
Commits on Jul 27, 2023
-
- Fix duplicate region in EEA_COUNTRIES - Add test for ConsentSetting model - Add test for PrivacyExperience.get_should_show_banner in the case where it is a TCF overlay - I return True here - Add test for PrivacyExperience.get_related_privacy_notices for TCF overlay - exits early with an empty list - not relevant here! - Add method tests for cache_saved_and_served_on_consent_record for special purpose, notice, and vendor - Add docstrings to TCF schemas and move TCFExperienceContents out of the file for schemas that are returned via the API - Add test for PrivacyPrefenceHistory.preference_type property - Add some checks on PrivacyPreferenceHistory and CurrentPrivacyPreference records on create - Rename PreferenceType enum and preference_type property to be more generic since they're also shared with served notices - Docstrings for schemas - Updated to TCF_COMPONENT_MAPPING and TCF_PREFERENCES_FIELD_MAPPING - Add test for privacy_notice_id - that it works w/ TCF too
Configuration menu - View commit details
-
Copy full SHA for 46c0f3b - Browse repository at this point
Copy the full SHA 46c0f3bView commit details -
- Added more fields to the vendor record - "has_notices" flag now also takes into account if TCF content exists too. - Tried to take care of areas accessing info off of the privacy notice history - "relevant_systems" definition has changed, and also now factors in TCF components. - Fix bug where wrong field is returned in historical report - Add validation on purposes and special purposes and duplicates for both saving preferences and serving TCF components - Surface tcf version in consent report
Configuration menu - View commit details
-
Copy full SHA for 4bbbcbd - Browse repository at this point
Copy the full SHA 4bbbcbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b1aba7 - Browse repository at this point
Copy the full SHA 8b1aba7View commit details -
Make progress towards getting tests passing:
- Fix bug related to Consent Settings scope name, copy/paste error - Fix test that relaxes returning systems as related even if they do not have system wide enforcement
Configuration menu - View commit details
-
Copy full SHA for c4f1fb3 - Browse repository at this point
Copy the full SHA c4f1fb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e3384 - Browse repository at this point
Copy the full SHA 18e3384View commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a55fe7d - Browse repository at this point
Copy the full SHA a55fe7dView commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 46dd468 - Browse repository at this point
Copy the full SHA 46dd468View commit details -
If component type is "overlay" return both overlay types - tcf overla…
…y and regular overlay, when searching for Privacy Experiences. Region filters will further refine to return the most appropriate overlay altogether.
Configuration menu - View commit details
-
Copy full SHA for d913dc0 - Browse repository at this point
Copy the full SHA d913dc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71e76d9 - Browse repository at this point
Copy the full SHA 71e76d9View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be09f0f - Browse repository at this point
Copy the full SHA be09f0fView commit details
Commits on Aug 17, 2023
-
Merge branch 'main' into tcf_backend_poc.
- Bump downrev of fides migration # Conflicts: # requirements.txt # src/fides/api/util/connection_util.py
Configuration menu - View commit details
-
Copy full SHA for 203a545 - Browse repository at this point
Copy the full SHA 203a545View commit details -
Update fideslang commit to point to a branch that is based on 1.4.4 (…
…so we have the system and privacy declaration changes) but also has gvl changes.
Configuration menu - View commit details
-
Copy full SHA for 84a649e - Browse repository at this point
Copy the full SHA 84a649eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3bde32 - Browse repository at this point
Copy the full SHA d3bde32View commit details
Commits on Aug 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a54043c - Browse repository at this point
Copy the full SHA a54043cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5f4081 - Browse repository at this point
Copy the full SHA b5f4081View commit details
Commits on Aug 20, 2023
-
Add WIP logic for features and special features.
- Update ARRAY type used on System.privacy_declarations to be of the postgresql dialect. (specifically this allows us to use "overlap")
Configuration menu - View commit details
-
Copy full SHA for 4eecffa - Browse repository at this point
Copy the full SHA 4eecffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec04f22 - Browse repository at this point
Copy the full SHA ec04f22View commit details
Commits on Aug 21, 2023
-
Add system_fides_key as an attribute for which a customer can opt in …
…and out, that is separate from "vendor". Saving preferences against a vendor apply to multiple systems, while saving against a fides key only applies to the particular system. - Have TCFFeature record inherit from fideslang Features. - Only embed TCF components beneath other components if they don't already exist. - Add the ability to save that consent for specific systems was served, and to also save preferences against a specific system.
Configuration menu - View commit details
-
Copy full SHA for 5e5cef2 - Browse repository at this point
Copy the full SHA 5e5cef2View commit details
Commits on Aug 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 93f1604 - Browse repository at this point
Copy the full SHA 93f1604View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2687e97 - Browse repository at this point
Copy the full SHA 2687e97View commit details -
Merge branch 'tcf_backend_poc' into fides_3876_remaining_tcf_overlay_…
…contents # Conflicts: # tests/ops/util/test_tcf_util.py
Configuration menu - View commit details
-
Copy full SHA for 5560421 - Browse repository at this point
Copy the full SHA 5560421View commit details -
Respond to some CR comments - group TCF attributes together on models…
…, add docstring to privacy experience endpoint, rename confusing query param, define has_tcf_contents_variable close to where we build the base contents.
Configuration menu - View commit details
-
Copy full SHA for 0d2525b - Browse repository at this point
Copy the full SHA 0d2525bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25efb1c - Browse repository at this point
Copy the full SHA 25efb1cView commit details
Commits on Aug 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e7a3133 - Browse repository at this point
Copy the full SHA e7a3133View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf24bf9 - Browse repository at this point
Copy the full SHA bf24bf9View commit details -
Consolidate TCF migration and identity system by id instead of fides_…
…key to avoid potential overlaps with custom vendor_ids from the dictionary.
Configuration menu - View commit details
-
Copy full SHA for 46fa4c6 - Browse repository at this point
Copy the full SHA 46fa4c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4380b57 - Browse repository at this point
Copy the full SHA 4380b57View commit details -
Add validation when saving that tcf purposes, special purposes, featu…
…res, or special features were served.
Configuration menu - View commit details
-
Copy full SHA for 715a615 - Browse repository at this point
Copy the full SHA 715a615View commit details
Commits on Aug 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 249d041 - Browse repository at this point
Copy the full SHA 249d041View commit details
Commits on Aug 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 86b445d - Browse repository at this point
Copy the full SHA 86b445dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f837f83 - Browse repository at this point
Copy the full SHA f837f83View commit details -
- Sort systems/vendors by name, leaving purposes/features sorted by id
- Sort legal_bases by name
Configuration menu - View commit details
-
Copy full SHA for e9f26b6 - Browse repository at this point
Copy the full SHA e9f26b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e5d930 - Browse repository at this point
Copy the full SHA 8e5d930View commit details
Commits on Aug 29, 2023
-
Fix bug where different systems have different legal_basis_for_proces…
…sing for the same use.
Configuration menu - View commit details
-
Copy full SHA for 94c67cf - Browse repository at this point
Copy the full SHA 94c67cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bfa356 - Browse repository at this point
Copy the full SHA 5bfa356View commit details -
Refactor building tcf overlay for new criteria regarding which system…
…s appear. In short, a system shows up if it has a gvl-relevant data use, and a legal basis of consent or legitimate interests. If it just has a gvl feature, that is not enough for the system to appear. Further, if a feature is going to show up, it has to be on the same privacy declaration as a gvl data use.
Configuration menu - View commit details
-
Copy full SHA for 53f9ad4 - Browse repository at this point
Copy the full SHA 53f9ad4View commit details -
Refactor structure - split main function into sub functions based on …
…related purposes.
Configuration menu - View commit details
-
Copy full SHA for 07eb26e - Browse repository at this point
Copy the full SHA 07eb26eView commit details
Commits on Aug 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 042ab78 - Browse repository at this point
Copy the full SHA 042ab78View commit details -
Configuration menu - View commit details
-
Copy full SHA for a706dff - Browse repository at this point
Copy the full SHA a706dffView commit details -
Configuration menu - View commit details
-
Copy full SHA for e46b9ba - Browse repository at this point
Copy the full SHA e46b9baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4248d - Browse repository at this point
Copy the full SHA 1c4248dView commit details -
Refactor how PrivacyPreferenceHistory.determine_relevant_systems work…
…s. This method runs when a privacy preference is saved, and it takes a snapshot of the systems that are relevant for that preference at that point in time. For TCF systems, a starting point for the system to be relevant is that it has to have a GVL-related data use and a legal basis of processing of consent or legitimate interests. From there, we further filter those systems that match a specific use, feature, or system/vendor id.
Configuration menu - View commit details
-
Copy full SHA for ac3ffee - Browse repository at this point
Copy the full SHA ac3ffeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4e6fb6 - Browse repository at this point
Copy the full SHA f4e6fb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 031fdce - Browse repository at this point
Copy the full SHA 031fdceView commit details -
Return historical preferences saved against system.
- Test cache_saved_and_served_on_consent_record against features - Update _validate_before_saving_consent_history test to include systems
Configuration menu - View commit details
-
Copy full SHA for 2ff52e9 - Browse repository at this point
Copy the full SHA 2ff52e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd40f38 - Browse repository at this point
Copy the full SHA bd40f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3808d - Browse repository at this point
Copy the full SHA 3d3808dView commit details
Commits on Aug 31, 2023
-
Fix 500 error when updating tcf experience config, due to the underly…
…ing method not completely handling the tcf overlay type. Split out served notice history endpoints from related privacy preference endpoints for pylint - privacy preference endpoints file way too large.
Configuration menu - View commit details
-
Copy full SHA for 29307b8 - Browse repository at this point
Copy the full SHA 29307b8View commit details
Commits on Sep 1, 2023
-
For completeness, verify that privacy center endpoints (getting, savi…
…ng) work with TCF without error. - Don't return TCF data in the privacy center unless TCF is turned on. (hopefully the FE is just looking at privacy preferences saved against notices).
Configuration menu - View commit details
-
Copy full SHA for 163815c - Browse repository at this point
Copy the full SHA 163815cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ab1bd - Browse repository at this point
Copy the full SHA 50ab1bdView commit details
Commits on Sep 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9137949 - Browse repository at this point
Copy the full SHA 9137949View commit details
Commits on Sep 12, 2023
-
Merge branch 'main' into tcf_backend_poc
# Conflicts: # requirements.txt Pin fideslang to TCF work branched off of 1.4.6. Bump downrev of tcf columns.
Configuration menu - View commit details
-
Copy full SHA for 39aecf0 - Browse repository at this point
Copy the full SHA 39aecf0View commit details -
- Removing auto-generated messaging template commits from my already-large migration. - Revert consent settings endpoint to being public again - Add an alias to for has_notices query param. - Try to better clarify when saving TCF preferences that nothing is saved if preferences are an empty list. - Fix mypy region issue - Add code comments to automatically generated migration that adds a lot of new columns - Get rid of _clone_top_level_record_then_add_legal_bases function - Add assert_length_of_tcf_sections helper, and add an auto use fixture for clearing the cache - "..ad_serving" is not a fideslang data use
Configuration menu - View commit details
-
Copy full SHA for 46dc739 - Browse repository at this point
Copy the full SHA 46dc739View commit details
Commits on Sep 14, 2023
-
Merge branch 'main' into tcf_backend_poc
# Conflicts: # requirements.txt # tests/fixtures/application_fixtures.py
Configuration menu - View commit details
-
Copy full SHA for 9197765 - Browse repository at this point
Copy the full SHA 9197765View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19cc0aa - Browse repository at this point
Copy the full SHA 19cc0aaView commit details -
- Update features to v3 - Get rid of lru_cache. - Rearrange where we're extending legal bases
Configuration menu - View commit details
-
Copy full SHA for d87fce5 - Browse repository at this point
Copy the full SHA d87fce5View commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8ccea25 - Browse repository at this point
Copy the full SHA 8ccea25View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca3928d - Browse repository at this point
Copy the full SHA ca3928dView commit details
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1f6f061 - Browse repository at this point
Copy the full SHA 1f6f061View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1d498 - Browse repository at this point
Copy the full SHA ca1d498View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c4507 - Browse repository at this point
Copy the full SHA 97c4507View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0523079 - Browse repository at this point
Copy the full SHA 0523079View commit details -
Refactor overlay to allow components to not necessarily be notice dri…
…ven (#3870) Co-authored-by: eastandwestwind <[email protected]> Co-authored-by: Adam Sachs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db4a7ed - Browse repository at this point
Copy the full SHA db4a7edView commit details
Commits on Sep 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ff1e9c9 - Browse repository at this point
Copy the full SHA ff1e9c9View commit details