Exposing a list of entities with the FieldItemListNormalizer will expose all entities regardless of user access.

Comments

_KASH_ created an issue. See original summary.

_kash_’s picture

I have a patch for this I am going to add.

_kash_’s picture

_kash_’s picture

Assigned: _kash_ » Unassigned
Status: Active » Needs review
_kash_’s picture

StatusFileSize
new950 bytes
_kash_’s picture

StatusFileSize
new1 KB

This patch attempts to handle cardinality and return null appropriately.

  • geoanders committed 4a7c9ca on 8.x-2.x
    Issue #3160617 by _KASH_: FieldItemListNormalizer does not check access...
geoanders’s picture

Version: 8.x-1.0 » 8.x-2.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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