Quantcast
Viewing all articles
Browse latest Browse all 293292

[META] Implement access() methods for all entity fields

We need to implement access() methods for all fields on all entities so that we have a consistent access API and in order to not expose sensitive data to unprivileged users. Use case example: REST module needs to determine whether to show or hide a particular field when a consumer requests an entity. Who should be able to see the node status flag (published/unpublished), who should be able to retrieve user email addresses from the user entity? Who is allowed to change the node author?

This issue is major since a missing access implementation can have security implications. Individual issues fixing access() might even be critical because of access bypass vulnerabilities.

Remaining tasks

  • Collect a list of fields of all core entities.
  • Create issues to implement the access check for each field.
  • Track the issues here.

(A list of related issues.)


Viewing all articles
Browse latest Browse all 293292

Trending Articles



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