Referencing ECK with Inline Entity Form (IEF) to the node leads to the problem for the users that don't have administrator permissions. Although permissions are set to edit, on node editing the eck entity will not be shown. Creating works fine.
Since the standard operations of Access Control are view, update, delete and create, I think that the solution will be to switch from "edit" to "update". The patch should resolve this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | access_control-2765293-8.patch | 737 bytes | volkerk |
| #2 | access_control-2765293-1.patch | 972 bytes | lulbina |
Comments
Comment #2
lulbina commentedComment #3
lulbina commentedComment #4
legolasboLet's see what testbot thinks
Comment #6
legolasboThanks for reporting this issue with an accompanying patch.
Before discussing the patch I would like to give you some feedback on the use of the issue queue.
As for your patch itself: it seems like a simple and sane solution, I would however like to see a failing test demonstrating this problem, which is then solved by your patch before committing this.
Comment #8
volkerk commentedI would take a different approach, operation 'update' is handled by 'edit ..' permission, see node module implementation:
https://api.drupal.org/api/drupal/core%21modules%21node%21node.module/fu...
Comment #9
volkerk commentedComment #11
legolasboAfter reviewing the issue a little deeper I've come to the conclusion that it would be difficult to add tests for this. Patch #8 seems fine to me.
Committed and pushed to 8.x-1.x. Thanks!