fix access result caching

Created on 25 September 2017, almost 7 years ago
Updated 12 March 2023, over 1 year 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.69.0 2024