Closed (fixed)
Project:
Entity API
Version:
8.x-1.x-dev
Component:
Core integration
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2019 at 17:47 UTC
Updated:
30 Dec 2019 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tstoecklerHere's a patch that adds support for the admin permission in
BundleEntityAccessControlHandler,EntityAccessControlHandlerBase,EntityPermissionProviderBaseandQueryAccessHandlerBase.I implemented it in a way that it falls back to the previously generated "administer $entity_type_id" permission if no admin permission is provided. To be honest, I find it a bit strange to generate any admin permission at all if the permission is not declared, but I guess that would break BC at this point.
Comment #4
bojanz commentedCommitted.