- πͺπͺEstonia ragnarkurm
As Google search is leading here, more people might be looking for help regarding "too many realms/grants", I added the info here. Encountered the issue with the
permissions_by_term module
, but the problem is more generic. Created also a core patch to alleviate the problem. The core patch is in the module issue queue since I understand that core maintainers are not willing to optimizeNodeGrantDatabaseStorage::access()
, and pointing toward using more specific hooks.https://www.drupal.org/project/permissions_by_term/issues/3380033 π Performance degradation Postponed: needs info
The patch in the issue takes care of monster
select
queries to thenode_access
table per node, but not for views. It is still a noticeable improvement in terms of speed.