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
Issue category | Task because performance |
---|---|
Issue priority | Normal, but could be major because performance |
Prioritized changes | The main goal of this issue is performance. |
Disruption | Non-disruptive as API changes are backwards compatible |