Spin-off from #2202185: Statically cache Role entities to speed up (User|UserSession)::hasPermission(), but moving just the DX cleanup into this issue, so that issue is focused on just the performance concerns.

CommentFileSizeAuthor
user-rolestorage-permission.patch3.55 KBeffulgentsia
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +DX (Developer Experience)

Looks great to me :)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c5b3010 and pushed to 8.x. Thanks!

  • alexpott committed c5b3010 on 8.x
    Issue #2302463 by effulgentsia: Cleanup User::hasPermission() and...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.