Problem/Motivation

I installed the module "Editable Fields".
Then I created a view and changed the fields of the contenttype to "Editable field".
I set the right permissions of "Use editablefields" and of the used contenttype.
The used fields are an entityreference to user.
Problem: In the view, the editablefields only show up for the admin and not for the normal users.
I don't know why. What did I miss?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

chlodewig created an issue. See original summary.

chlodewig’s picture

Issue summary: View changes
chlodewig’s picture

Title: Permissions don't work » Permissions don't work?
chlodewig’s picture

Title: Permissions don't work? » Permissions doesn't work?
Issue summary: View changes
chlodewig’s picture

Title: Permissions doesn't work? » Permissions don't work?
Issue summary: View changes
gilmord’s picture

Assigned: Unassigned » gilmord

Hi, @chlodewig

I just tested this one on the clean Drupal 9 set-up and everything works fine

Take a look at EditableFieldsHelper::checkAccess, user needs:
1. permission to use formatted
2. permission to edit the entity (f.e. "Basic page: Edit own content")

Please check if you do not miss 2 and the user has permission to edit content.
Also try flushing cache.

Let me know if this helps you.

gilmord’s picture

In addition to the previous comment

The used fields are an entityreference to user.

So you need to make sure the non-admin user has access to update the entity that holds the field

Maybe makes sense to add an option "bypass edit access" to allow updating any entity in the view,
but not sure yet about this feature.

gilmord’s picture

Status: Active » Fixed
Related issues: +#3247569: Entity access check failure

Hi, @chlodewig
looks like this one was resolved here
https://www.drupal.org/project/editablefields/issues/3247569

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.