Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 314038

Decouple field access checks from formatters and widgets

$
0
0

Entity render controllers and form controllers are not responsible for checking view and edit access on the entity. Calling code needs to do that where appropriate.

So then, why should formatters and widgets be responsible for checking field access? For symmetry, shouldn't that be the caller's responsibility?


Viewing all articles
Browse latest Browse all 314038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>