How can I do it?
In my environment (SharePoint Server 2010 sp1 + <label for="ctl00_PlaceHolderMain_AuthenticationSection_RadUseClaimAuth">Claims Based Authentication </label>+ anonymous access enabled) I create the custom list with one standard column (“Title”)
Add PowerEventReceivers solution, and set easy code from code examples:
"Deleting is Wrong"
= ("NEW Add_"
If I “authorization user” with managed access (Read, Write, Delete items) on list, this code is work - item is not deleting and new item is adding. But when I anonymous user with managed item access (or
user without access, probably as anonymous user) – item is deleting, and new item is not adding. In UI not error or warning message, but log file contains error (from a first message).
Regards. And Sorry for my bad English