For example, if I have a CustomerAddress entity and repository.
And I have an app service method UpdateCustomerAddress , and pass an address id to update, plus the fields to update.
How do I restrict that method so that only the CreatorUser of the CustomerAddress can update it?
I could create a permission "can update address", but still would need a way to verify that this is their address.
Is there a way to find out who called a method?