User Profile
CRogado
Copper Contributor
Joined 11 months ago
User Widgets
Recent Discussions
Viewing Draft Version
Good morning everyone, I've configured a custom list with specific versioning settings as follows: Content approval for submitted items is required: Yes Create a new version each time an item is edited in this list: Yes Visibility of draft items: Only users who can edit items Each user is assigned to a different SharePoint Group + READ GROUP (For views), referred to as an "Entity." The business owner has the authority to change the assigned Entity for an item. When an Entity is changed, an event handler is triggered to revoke the previous permissions and grant EDIT permissions to the new Entity. Consequently, the item's Approval status transitions from Approved to Pending. The issue arises when the Entity is changed, and despite the event handler removing the old permissions and assigning EDIT permissions to the new Entity, the Approval status remains Pending. Furthermore, the user who initiated the Entity change continues to see the item as a draft, even if their Entity lacks permissions for it. E.G: Business created an item on behalf an Entity XXXXX (Approval Status remaining all the time Pending) Was given EDIT item permissions to Entity XXX Only the Entity XXX and business can see it -> Correct Entity XXX change the item to Entity YYY Only the Entity YYY and business can see it -> Correct The user who change the entity also can see -> WRONG I cannot understand what is wrong in the configuration or code, since the draft security is: Visibility of draft items: Only users who can edit items412Views0likes0Comments
Groups
Recent Blog Articles
No content to show