Row level policies for read and write

Hi everyone,

I’m using Jmix 1.6 and I have an entity called Project with fields department and responsible. I’d like to allow read access to users in the same department and write access to the responsible person. All other users shouldn’t be able to see projects outside their department.

I’ve been trying to implement this using row-level policies, but I’m having some trouble getting it to work as expected. Any advice or examples would be greatly appreciated!

Thanks in advance!