I created my own SharePoint list, which programmatically sets permissions for each list item. This part of the application works by clearing all permissions in the list item and adding permissions for the people to whom I want to grant read or write permission. I believe this part of the application is correct: select "Manage Permissions" in the list item. I can see the corresponding users and roles for the list items in question in the permission list.
However, I was surprised to realize that only the user who submitted the list item can successfully edit the item. I will describe what I see with the following two users: UserA and UserB. UserA sent a list item. UserB tries to edit the same list item after permissions have been assigned (manually or programmatically).
UserB cannot edit the list item:
- UserB can see the "Edit item" link on the item toolbar.
- The user can click on the link and see EditForm.aspx.
- When UserB makes a change and clicks submit, UserB discovers the SharePoint Access Denied error page.
- The event handler for updating the list item does not work.
- Manually increasing the UserB resolution to enable full control does not affect the behavior above.
UserA :
- A " " .
- EditForm.aspx.
- UserA .
- UserA.
: