Skip to content

Commit

Permalink
Merge pull request #4138 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Jul 31, 2024
2 parents 3c28b39 + 1bed165 commit d9d3b2b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
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

0 comments on commit d9d3b2b

Please sign in to comment.