From d27d7b60c7997a39b4b269f389ad8bc395840e8c Mon Sep 17 00:00:00 2001 From: Amir Date: Fri, 19 Sep 2025 11:33:39 +0200 Subject: [PATCH] Removed data sensitivity question --- backend/core/forms.py | 2 +- ..._organization_data_sensitivity_and_more.py | 22 ++++++ backend/core/models.py | 1 - backend/core/templates/signup.html | 69 ++++--------------- 4 files changed, 37 insertions(+), 57 deletions(-) create mode 100644 backend/core/migrations/0027_remove_organization_data_sensitivity_and_more.py diff --git a/backend/core/forms.py b/backend/core/forms.py index 2b84167..1de7329 100644 --- a/backend/core/forms.py +++ b/backend/core/forms.py @@ -6,7 +6,7 @@ class OrganizationForm(forms.ModelForm): model = Organization fields = [ 'name', 'email', 'employee_headcount', 'annual_revenue', 'critical_applications', - 'compliance_frameworks', 'industry_sector', 'it_dependency', 'data_sensitivity', + 'compliance_frameworks', 'industry_sector', 'it_dependency', 'network_infrastructure', 'remote_workforce_percentage', 'third_party_vendor_access', 'internal_software_development', 'geographic_scope', 'customer_base', 'customer_type', 'product_portfolio', 'supplier_base', 'it_infrastructure', diff --git a/backend/core/migrations/0027_remove_organization_data_sensitivity_and_more.py b/backend/core/migrations/0027_remove_organization_data_sensitivity_and_more.py new file mode 100644 index 0000000..9937b19 --- /dev/null +++ b/backend/core/migrations/0027_remove_organization_data_sensitivity_and_more.py @@ -0,0 +1,22 @@ +# Generated by Django 5.1.3 on 2025-09-19 09:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0026_remove_organization_intellectual_property_and_more'), + ] + + operations = [ + migrations.RemoveField( + model_name='organization', + name='data_sensitivity', + ), + migrations.AlterField( + model_name='organization', + name='sensitive_data_types', + field=models.JSONField(blank=True, help_text="Stores applicable status and business impact rating (1-5) for each sensitive data type. Example: {'personal': {'applicable': True, 'impact': 4}, ...}", null=True), + ), + ] diff --git a/backend/core/models.py b/backend/core/models.py index e151fc2..80bf65f 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -52,7 +52,6 @@ class Organization(models.Model): compliance_frameworks = models.JSONField(help_text="Which regulatory frameworks is your organization required to comply with?") # Stores selected compliance frameworks as a list industry_sector = models.CharField(max_length=255,help_text="What is your primary industry sector?") it_dependency = models.CharField(max_length=255, help_text="On a scale from 1-10, how dependent is your business operations on technology?") - data_sensitivity = models.CharField(max_length=20, help_text="Overall Sensitivity Level of Data Processed: Subjective rating of the value and impact of the data your organization processes.") remote_workforce_percentage = models.CharField(max_length=20, help_text="What percentage of your workforce operates remotely?") third_party_vendor_access = models.CharField(max_length=20, help_text="How many third-party vendors have access to your systems?") internal_software_development = models.CharField(max_length=20, help_text="What is the extent of your internal software development activities?") diff --git a/backend/core/templates/signup.html b/backend/core/templates/signup.html index cf9db6e..b3befbd 100644 --- a/backend/core/templates/signup.html +++ b/backend/core/templates/signup.html @@ -606,49 +606,8 @@ - -
- -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - Subjective rating of the value and impact of the data your organization processes. - -
- -
+

@@ -682,7 +641,7 @@
-
+

@@ -716,7 +675,7 @@
-
+
-
+

@@ -784,7 +743,7 @@ -
+
-
+
-
+