1.Create content type "Custom select List"
2.Add nodes like "Open" and "Closed"
3.Create a view >entity reference of custom select list content type with contextual filter to authored by logged in user (to display only list created by current logged user)
4.Now User 1 can see his nodes "Open" and "Closed"
5. User 2 can see his nodes like "Good" and "BAD"
6.Go to Article content type and create entity reference field "Status" and use that view as list option.
7.User 1 can create article node and select status "OPEN"
8.Allow user 2 to edit this article and once saved the status is overriden becasue he cannot see Status, but "GOOD" instead which is fine.
Now where the issue begans:
9.To prevent override of Status , go to content type article and update status field with permisson "Create own value" and "Edit own value"
10.User 2 Tries to edit node now and cannot see Status field - PERFECT, however once node is saved, it is still overriden and status "Open" which added user1 is lost.
It seems even user cannot update this field, field is still being updated on background.
-I have tried to install orm_mode_control β and when using different mode it works as expected and user 2 wont update Status field which is Disabled in that form mode.
However once user use default "EDIT" button he is always redirected to default form mode, so overrides it. Only with direct link of form mode display it works.
Any idea how to fix this bug so if there is "Edit own value" for entity reference field with a custom view reference it wont be updated ?
Active
1.0
Code