Skip to content

Use user scope for caching read_group conditions

Abdul Wadood requested to merge 219230-refactor-read-group-policy into master

What does this MR do and why?

Use user scope for caching read_group conditions

We have multiple groups and a single user here therefore, we should cache based on the user which is done by the Group.groups_user_can method.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

The specs should pass.

You can also follow these steps !150101 (merged), !149664 (merged).

Related to #219230 (closed)

Merge request reports