Grants are not cached if the user has "view any unpublished content" permission

Created on 4 August 2021, over 3 years ago
Updated 28 April 2023, over 1 year ago

Problem/Motivation

Grants for user who has "view any unpublished content" permission is not being cached due simple return value.

Steps to reproduce

-

Proposed resolution

Return it with correct set cache value.

Remaining tasks

Test.

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium golddragon007

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