In a list where items only can be changed by owner or admin how can I check by code if a user can edit the item.
I try
item.DoesUserHavePermissions(SPBasePermissions.EditListItems);
it will return True as the user can add and edit items in list.