diff --git a/source/backend/api/Services/PropertyService.cs b/source/backend/api/Services/PropertyService.cs index 8b4302a7fa..885d06250f 100644 --- a/source/backend/api/Services/PropertyService.cs +++ b/source/backend/api/Services/PropertyService.cs @@ -116,7 +116,7 @@ public PimsProperty Update(PimsProperty property) public IList GetContacts(long propertyId) { _logger.LogInformation("Retrieving property contacts..."); - _user.ThrowIfNotAuthorized(Permissions.PropertyEdit); + _user.ThrowIfNotAuthorized(Permissions.PropertyView); return _propertyContactRepository.GetContactsByProperty(propertyId); } @@ -124,7 +124,7 @@ public IList GetContacts(long propertyId) public PimsPropertyContact GetContact(long propertyId, long contactId) { _logger.LogInformation("Retrieving single property contact..."); - _user.ThrowIfNotAuthorized(Permissions.PropertyEdit); + _user.ThrowIfNotAuthorized(Permissions.PropertyView); var propertyContact = _propertyContactRepository.GetContact(contactId);