Limiting record access using record rules
As an example, we will add a record rule to the Library Books model so that users in the
Employee group will only have access to public books.
We will continue using the
my_library module from the previous recipe.
How to do it...
Record rules are added using a data XML file. To do this, perform the following steps: