Skip to content

Commit

Permalink
make name not required on privacy declaration (#3150)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsachs authored Apr 25, 2023
1 parent d984bd6 commit 01ea9b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def upgrade():
server_default=sa.text("now()"),
nullable=True,
),
sa.Column("name", sa.String(), nullable=False),
sa.Column("name", sa.String(), nullable=True),
sa.Column("egress", sa.ARRAY(sa.String()), nullable=True),
sa.Column("ingress", sa.ARRAY(sa.String()), nullable=True),
sa.Column("data_use", sa.String(), nullable=False),
Expand Down
2 changes: 1 addition & 1 deletion src/fides/api/ctl/sql_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class PrivacyDeclaration(Base):
"""

name = Column(
String, index=True, nullable=False
String, index=True, nullable=True
) # labeled as Processing Activity in the UI
### keep egress/ingress as JSON blobs as they have always been
egress = Column(ARRAY(String))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ system:
data_subjects:
- customer
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
name: Store Cookie House eCommerce application user cookie ID

- fides_key: cookie_house_postgres
name: Cookie House PostgreSQL Database
Expand All @@ -40,7 +39,6 @@ system:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
dataset_references:
- postgres_example_test_dataset
name: Cookie House user primary database data

- fides_key: cookie_house_mongo
name: Cookie House Customer Database
Expand All @@ -59,7 +57,6 @@ system:
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
dataset_references:
- mongo_test
name: Cookie House user data mongo DB

- fides_key: cookie_house_marketing
name: Cookie House Marketing System
Expand All @@ -76,4 +73,3 @@ system:
data_subjects:
- customer
data_qualifier: aggregated.anonymized.unlinked_pseudonymized.pseudonymized.identified
name: Store Cookie House marketing application data

0 comments on commit 01ea9b4

Please sign in to comment.