fix access result caching

Created on 25 September 2017, about 7 years ago
Updated 12 March 2023, almost 2 years ago
    // This form's cacheability may have been changed as it is now based
    // on the current user and permissions.
    // TODO: is this line enough?
    $access->addCacheableDependency($form);

I'm not actually sure what this line does.

I do suspect though that we should be adding cachePerUser() and cachePerPermissions() here.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024