- Issue created by @larowlan
- last update
about 1 year ago 42 pass, 2 fail - @larowlan opened merge request.
- Status changed to Needs review
about 1 year ago 9:18pm 10 October 2023 - First commit to issue fork.
- last update
about 1 year ago 44 pass - Status changed to Needs work
about 1 year ago 4:17pm 20 October 2023 - πΊπΈUnited States agentrickard Georgia (US)
I don't see this buying us a big performance boost -- but I can see use-cases where having the context might be helpful for developers.
I also wonder if we should cachePerPermission() as well on the access check? That might actually give a perfornace improvement? Though I suppose users without sections would all have the same cache key.
Code-wise, the docblock for UserSectionsCacheContext doesn't name the class, though.