modification of the RLS framework record level security.

Hi all, 

I have a question, our organization would like to hide some indexes and BOM lines. 
We have a lot of permission groups, that's why we don't want to make a revolution in them.
I started looking for how RLS works and I came across this:

this means that it is enough to find a place where the WHERE clause is modified and simply extend it.

I found the sysSearch.search class and modified it as follows:


but it doesn't work. It looks like it's not called.

Question: did any of you modify RLS and can tell me where and what to modify to hide selected indexes and BOM lines.

 

Related
Recommended