Check the box next to each item confirm your report mee
value="True"
{% if form.cleaned_data.is_OMB_limited %}checked{% endif %} />
{{ form.errors.is_OMB_limited|striptags }}
@@ -34,7 +34,7 @@
Check the box next to each item confirm your report mee
value="True"
{% if form.cleaned_data.is_auditee_responsible %}checked{% endif %} />
{{ form.errors.is_auditee_responsible|striptags }}
@@ -47,7 +47,7 @@
Check the box next to each item confirm your report mee
value="True"
{% if form.cleaned_data.has_used_auditors_report %}checked{% endif %} />
{{ form.errors.has_used_auditors_report|striptags }}
@@ -60,23 +60,10 @@
Check the box next to each item confirm your report mee
value="True"
{% if form.cleaned_data.has_no_auditee_procedures %}checked{% endif %} />
{{ form.errors.has_no_auditee_procedures|striptags }}
-
Check the box next to each item confirm your report mee
value="True"
{% if form.cleaned_data.is_FAC_releasable %}checked{% endif %} />
{{ form.errors.is_FAC_releasable|striptags }}
diff --git a/backend/audit/test_views.py b/backend/audit/test_views.py
index 4ad864b08b..7301d2b359 100644
--- a/backend/audit/test_views.py
+++ b/backend/audit/test_views.py
@@ -1954,7 +1954,6 @@ def test_post_valid_form(self):
"has_used_auditors_report": True,
"has_no_auditee_procedures": True,
"is_FAC_releasable": True,
- "is_accurate_and_complete": True,
}
response = self.client.post(self.url, form_data)
diff --git a/backend/census_historical_migration/sac_general_lib/auditor_certification.py b/backend/census_historical_migration/sac_general_lib/auditor_certification.py
index 513df15dbc..f0665ec7a6 100644
--- a/backend/census_historical_migration/sac_general_lib/auditor_certification.py
+++ b/backend/census_historical_migration/sac_general_lib/auditor_certification.py
@@ -16,7 +16,6 @@
FormFieldMap("is_auditee_responsible", None, FormFieldInDissem, "Y", bool),
FormFieldMap("has_used_auditors_report", None, FormFieldInDissem, "Y", bool),
FormFieldMap("has_no_auditee_procedures", None, FormFieldInDissem, "Y", bool),
- FormFieldMap("is_accurate_and_complete", None, FormFieldInDissem, "Y", bool),
FormFieldMap("is_FAC_releasable", None, FormFieldInDissem, "Y", bool),
]
diff --git a/backend/cypress/support/auditor-certification.js b/backend/cypress/support/auditor-certification.js
index 8e46a20a44..0d0fbff40d 100644
--- a/backend/cypress/support/auditor-certification.js
+++ b/backend/cypress/support/auditor-certification.js
@@ -4,7 +4,6 @@ export function testAuditorCertification() {
cy.get('label[for=is_auditee_responsible]').click();
cy.get('label[for=has_used_auditors_report]').click();
cy.get('label[for=has_no_auditee_procedures]').click();
- cy.get('label[for=is_accurate_and_complete]').click();
cy.get('label[for=is_FAC_releasable]').click();
cy.get('.usa-button').contains('Agree to auditor certification').click();
diff --git a/backend/manifests/manifest-fac.yml b/backend/manifests/manifest-fac.yml
index b29d59b53a..54e25b44d3 100644
--- a/backend/manifests/manifest-fac.yml
+++ b/backend/manifests/manifest-fac.yml
@@ -7,7 +7,7 @@ applications:
memory: ((mem_amount))
path: ../
timeout: 180
- disk_quota: 2G
+ disk_quota: 5G
env:
ENV: ((cf_env_name))
DJANGO_BASE_URL: https://((endpoint))
diff --git a/backend/requirements.txt b/backend/requirements.txt
index c10366fda1..8e5516914f 100644
--- a/backend/requirements.txt
+++ b/backend/requirements.txt
@@ -1196,8 +1196,6 @@ six==1.16.0 \
sling==1.3.4 \
--hash=sha256:70541da99b48313a0cfd5e61c52d984e4d50113b7945308697d32cd50a6bb183
# via -r ./requirements/requirements.in
-sling-linux-arm64==1.3.4 \
- --hash=sha256:08977df437742b415232e8c09c2f7f43181a3b764bef601fa6ebd369f6777783
sling-linux-amd64==1.3.4 \
--hash=sha256:d5f3b71fb191e8b9663f88890c464d84ab4c36df3a5fd6148a51cdd2ea9a5099
# via sling
diff --git a/backend/schemas/output/sections/AuditorCertification.schema.json b/backend/schemas/output/sections/AuditorCertification.schema.json
index d2666a51f9..18b64ee332 100644
--- a/backend/schemas/output/sections/AuditorCertification.schema.json
+++ b/backend/schemas/output/sections/AuditorCertification.schema.json
@@ -16,9 +16,6 @@
"is_OMB_limited": {
"type": "boolean"
},
- "is_accurate_and_complete": {
- "type": "boolean"
- },
"is_auditee_responsible": {
"type": "boolean"
}
@@ -28,7 +25,6 @@
"is_auditee_responsible",
"has_used_auditors_report",
"has_no_auditee_procedures",
- "is_accurate_and_complete",
"is_FAC_releasable"
],
"type": "object"
diff --git a/backend/schemas/source/sections/AdditionalEINs.schema.jsonnet b/backend/schemas/source/sections/AdditionalEINs.schema.jsonnet
index cc0804c3cf..8bcddbeb25 100644
--- a/backend/schemas/source/sections/AdditionalEINs.schema.jsonnet
+++ b/backend/schemas/source/sections/AdditionalEINs.schema.jsonnet
@@ -9,10 +9,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.ADDITIONAL_EINS],
},
- //Because we now pass the version to the SAC record,
- //we want to make sure we allow backwards compatibility
+ //Because we now pass the version to the SAC record,
+ //we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/AdditionalUEIs.schema.jsonnet b/backend/schemas/source/sections/AdditionalUEIs.schema.jsonnet
index 5149a24ef8..e59142d188 100644
--- a/backend/schemas/source/sections/AdditionalUEIs.schema.jsonnet
+++ b/backend/schemas/source/sections/AdditionalUEIs.schema.jsonnet
@@ -9,10 +9,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.ADDITIONAL_UEIS],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/AuditFindingsText.schema.jsonnet b/backend/schemas/source/sections/AuditFindingsText.schema.jsonnet
index 1e34117fa8..aff6d3db39 100644
--- a/backend/schemas/source/sections/AuditFindingsText.schema.jsonnet
+++ b/backend/schemas/source/sections/AuditFindingsText.schema.jsonnet
@@ -9,10 +9,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.AUDIT_FINDINGS_TEXT],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/AuditorCertification.schema.jsonnet b/backend/schemas/source/sections/AuditorCertification.schema.jsonnet
index bee33cf168..34b8f78a6d 100644
--- a/backend/schemas/source/sections/AuditorCertification.schema.jsonnet
+++ b/backend/schemas/source/sections/AuditorCertification.schema.jsonnet
@@ -12,7 +12,6 @@ local AuditorCertification = Types.object {
is_auditee_responsible: Types.boolean,
has_used_auditors_report: Types.boolean,
has_no_auditee_procedures: Types.boolean,
- is_accurate_and_complete: Types.boolean,
is_FAC_releasable: Types.boolean,
},
required: [
@@ -20,7 +19,6 @@ local AuditorCertification = Types.object {
'is_auditee_responsible',
'has_used_auditors_report',
'has_no_auditee_procedures',
- 'is_accurate_and_complete',
'is_FAC_releasable',
],
},
diff --git a/backend/schemas/source/sections/CorrectiveActionPlan.schema.jsonnet b/backend/schemas/source/sections/CorrectiveActionPlan.schema.jsonnet
index 33ff8bac80..1596235558 100644
--- a/backend/schemas/source/sections/CorrectiveActionPlan.schema.jsonnet
+++ b/backend/schemas/source/sections/CorrectiveActionPlan.schema.jsonnet
@@ -9,10 +9,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.CORRECTIVE_ACTION_PLAN],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/FederalAwards.schema.jsonnet b/backend/schemas/source/sections/FederalAwards.schema.jsonnet
index 74b4203b0f..43873807c0 100644
--- a/backend/schemas/source/sections/FederalAwards.schema.jsonnet
+++ b/backend/schemas/source/sections/FederalAwards.schema.jsonnet
@@ -377,10 +377,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.FEDERAL_AWARDS, Sheets.section_names.FEDERAL_AWARDS_EXPENDED],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/FederalAwardsAuditFindings.schema.jsonnet b/backend/schemas/source/sections/FederalAwardsAuditFindings.schema.jsonnet
index b42d991d07..07ba898ff0 100644
--- a/backend/schemas/source/sections/FederalAwardsAuditFindings.schema.jsonnet
+++ b/backend/schemas/source/sections/FederalAwardsAuditFindings.schema.jsonnet
@@ -12,10 +12,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.FEDERAL_AWARDS_AUDIT_FINDINGS],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/NotesToSefa.schema.jsonnet b/backend/schemas/source/sections/NotesToSefa.schema.jsonnet
index 60a2eac535..e7cca0f15c 100644
--- a/backend/schemas/source/sections/NotesToSefa.schema.jsonnet
+++ b/backend/schemas/source/sections/NotesToSefa.schema.jsonnet
@@ -9,10 +9,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.NOTES_TO_SEFA],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/schemas/source/sections/SecondaryAuditors.schema.jsonnet b/backend/schemas/source/sections/SecondaryAuditors.schema.jsonnet
index 08caf56f30..290f365c77 100644
--- a/backend/schemas/source/sections/SecondaryAuditors.schema.jsonnet
+++ b/backend/schemas/source/sections/SecondaryAuditors.schema.jsonnet
@@ -9,10 +9,10 @@ local Meta = Types.object {
section_name: Types.string {
enum: [Sheets.section_names.SECONDARY_AUDITORS],
},
- //Because we now pass the version to the SAC record,
+ //Because we now pass the version to the SAC record,
//we want to make sure we allow backwards compatibility
version: Types.string {
- enum: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.1.0", "1.1.1", "1.1.2", Sheets.WORKBOOKS_VERSION]
+ enum: ['1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.1.0', '1.1.1', '1.1.2', Sheets.WORKBOOKS_VERSION],
},
},
required: ['section_name'],
diff --git a/backend/users/management/commands/create_staffusers.py b/backend/users/management/commands/create_staffusers.py
index 0ceff37c4b..29cc805d11 100644
--- a/backend/users/management/commands/create_staffusers.py
+++ b/backend/users/management/commands/create_staffusers.py
@@ -1,3 +1,4 @@
+# flake8: noqa
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group, Permission
@@ -16,6 +17,9 @@ class Command(BaseCommand):
def handle(self, *args, **kwargs):
"""Create a group with readonly permissions."""
+ logger.info(f"Permission dump ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
+ logger.info(Permission.objects.all().values())
+
group_readonly, created = Group.objects.get_or_create(name="Read-only")
readonly_codenames = [
"view_access",
@@ -40,7 +44,10 @@ def handle(self, *args, **kwargs):
]
group_readonly.permissions.clear()
for code in readonly_codenames:
- group_readonly.permissions.add(Permission.objects.get(codename=code))
+ try:
+ group_readonly.permissions.add(Permission.objects.get(codename=code))
+ except Exception as e:
+ logger.error(f"1. Failed to get ({code}) -- {e}")
group_readonly.save()
"""Create a group with helpdesk permissions."""
@@ -58,7 +65,10 @@ def handle(self, *args, **kwargs):
]
group_helpdesk.permissions.clear()
for code in helpdesk_codenames:
- group_helpdesk.permissions.add(Permission.objects.get(codename=code))
+ try:
+ group_helpdesk.permissions.add(Permission.objects.get(codename=code))
+ except Exception as e:
+ logger.error(f"2. Failed to get ({code}) -- {e}")
group_helpdesk.save()
# read in staffusers JSON.
@@ -99,7 +109,6 @@ def handle(self, *args, **kwargs):
case "readonly":
user.groups.add(group_readonly)
case "helpdesk":
- user.groups.clear()
user.groups.add(group_helpdesk)
case "superuser":
user.is_superuser = True