Skip to content

Commit

Permalink
fix: Use correct SpEL for ACB update
Browse files Browse the repository at this point in the history
[#OCD-4782]
  • Loading branch information
kekey1 committed Jan 22, 2025
1 parent c96e55a commit 434c584
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ public CertificationBody create(CertificationBody acb) throws EntityCreationExce

@Transactional
@PreAuthorize("@permissions.hasAccess(T(gov.healthit.chpl.permissions.Permissions).CERTIFICATION_BODY, "
+ "T(gov.healthit.chpl.permissions.domains.CertificationBodyDomainPermissions).UPDATE, #acb)")
+ "T(gov.healthit.chpl.permissions.domains.CertificationBodyDomainPermissions).UPDATE, #acbToUpdate)")
@CacheEvict(value = {
CacheNames.GET_DECERTIFIED_DEVELOPERS,
CacheNames.COLLECTIONS_DEVELOPERS,
CacheNames.COLLECTIONS_LISTINGS,
CacheNames.COMPLAINTS
}, allEntries = true)
@ListingStoreRemove(removeBy = RemoveBy.ACB_ID, id = "#acb.id")
@ListingStoreRemove(removeBy = RemoveBy.ACB_ID, id = "#acbToUpdate.id")
@ListingSearchCacheRefresh
// no other caches have ACB data so we do not need to clear all
public CertificationBody update(CertificationBody acbToUpdate) throws EntityRetrievalException, SchedulerException, ValidationException, ActivityException, InvalidArgumentsException {
Expand Down

0 comments on commit 434c584

Please sign in to comment.