Problem/Motivation
The contrib Entity API's query access handler allows custom entity types to filter out inaccessible entities on database level. This handler is being automatically included on entity queries and views configurations.
Remaining tasks
Implement the query access handler for Storage entities.
User interface changes
Views lists might exclude inaccessible rows beforehand.
API changes
Query access handler adds further SQL conditions to entity queries and views.
Existing entity queries will thus exclude inaccessible rows, unless $entity_query->accessCheck(FALSE) is explicitly set.
Comments
Comment #2
mxh commentedComment #3
mxh commentedComment #5
mxh commentedReady for a review, if not interested just un-assign yourself :)
Comment #6
mxh commentedComment #7
mandclu commentedThere are a few changes in the commit not directly tied to the topic of this ticket, but that's a minor quibble. Thanks for all the excellent work!