I had a problem where I found it impossible to give the permission for a user other that uid1 to either create or edit a field collection. I traced the problem to an incorrect call to field_access(). Patch to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrfelton’s picture

Status: Active » Needs review
FileSize
1.1 KB
tim.plunkett’s picture

Title: Filed permissions incorrectly processed. » Field permissions incorrectly processed.
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

dww’s picture

I just re-ran into this bug over at #1393194: Access bypass in field_collection...

Trying to figure out how field_access() is supposed to work is hard given the unclear API docs. Y'all might be interested in my patch at #1393234: API docs for field_access() are confusing (and maybe willing to RTBC it). ;)

Cheers,
-Derek