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

Static cache permissions

$
0
0

Problem/Motivation

PermissionsHandler:moduleProvidesPermissions costs quite a lot and so should be static cached.

Proposed resolution

Static cache result
Let ::getPermissions accept an optional module name.

Remaining tasks

Patch

User interface changes

None

API changes

New optional argument to PermissionsHandlerInterface::getPermissions - BC is maintained

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryTask because performance
Issue priorityNormal, but could be major because performance
Prioritized changesThe main goal of this issue is performance.
DisruptionNon-disruptive as API changes are backwards compatible

Viewing all articles
Browse latest Browse all 293770

Trending Articles



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