Reputation: 5330
I've build a custom SharePoint list that programatically adjusts permissions per list item. This part of the app works by clearing all permissions in the list item and adding permissions to the folks I want to grant Read or Contribute permission to. I believe this part of the application to be correct: selecting Manage Permissions on a list item I can see the appropriate users and roles for the list items in question in the Permissions list.
However, I was surprised to realize that only the user who submitted a list item can successfully edit the item. I'll describe what I'm seeing with the following two users: UserA and UserB. UserA submitted the list item. UserB is trying to edit the same list item after the permissions have been assigned (either manually or programatically).
UserB cannot edit the list item:
By contrast, UserA encounters far more predictable behavior:
This leaves me with several questions:
Upvotes: 3
Views: 8750
Reputation: 355
Can you check on you list Settings > Adcanced Settings >Item Level Permissions to see what are the edit access settings there? As you handling that on your events this should be set to All items?
Upvotes: 2