Skip to content
Snippets Groups Projects
Commit 82f361a3 authored by Thibault Delavallée's avatar Thibault Delavallée Committed by Raphael Collet
Browse files

[FIX] models: add filter method on access rules

Currently check_access_rule method checks for record rules and raises an error
if there are either missing ids (deleted records) or forbidden ids (records
hidden due to a record rule).

Purpose of this commit is to have a method allowing to filter a given recordset
and receive only valid records. Its implementation is basically a refactoring
of check_access_rule.

This commit is linked to task ID 1856417 and PR #26565.
parent 13fc1380
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment