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?
Comments
Comment #2
chlodewig commentedComment #3
chlodewig commentedComment #4
chlodewig commentedComment #5
chlodewig commentedComment #6
gilmordHi, @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.
Comment #7
gilmordIn addition to the previous comment
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.
Comment #8
gilmordHi, @chlodewig
looks like this one was resolved here
https://www.drupal.org/project/editablefields/issues/3247569