Skip to content
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

2024-07-31 | MAIN --> PROD | DEV (1bed165) --> STAGING #4138

Merged
merged 3 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/api/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_expired_waived_uei_payload(self):
expiration=expired["expiration"],
)

# Invalid due to the waiver being expired. Mock the SAM call as though the entity doesnt exist.
# Invalid due to the waiver being expired. Mock the SAM call as though the entity does not exist.
with patch("api.uei.SESSION.get") as mock_get:
mock_get.return_value.status_code = 200
mock_get.return_value.json.return_value = json.loads(missing_uei_results)
Expand Down
6 changes: 6 additions & 0 deletions backend/audit/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ class UeiValidationWaiverAdmin(admin.ModelAdmin):
)
readonly_fields = ("timestamp",)

def save_model(self, request, obj, form, change):
super().save_model(request, obj, form, change)
logger.info(
f'Validation Waiver for UEI "{obj.uei}" successfully added by user: {request.user.email}.'
)


admin.site.register(Access, AccessAdmin)
admin.site.register(DeletedAccess, DeletedAccessAdmin)
Expand Down
1 change: 0 additions & 1 deletion backend/schemas/scripts/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ def set_wb_security(wb, password):
# I cannot prevent the sheets from unlocking.
wb.security = WorkbookProtection(workbookPassword=password, lockStructure=True)
wb.security.lockStructure = True
print(f"To unlock: {password}")


def save_workbook(wb, basename):
Expand Down
2 changes: 1 addition & 1 deletion terraform/shared/modules/cors/production-cors.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"GET"
],
"AllowedOrigins": [
"https://app.cloud.gov"
"https://app.fac.gov"
],
"ExposeHeaders": [
"ETag"
Expand Down
Loading