Lets say y have the following data, Records with Project and records with subproject. I'm asked to give permisions in section access by cod_dpt. If a user can see a project, he should be given access to all of its subprojects
(Eg: user A can see cod_dpt=00002 so he must see Project P/01 but also the first record (P/01-001) 'cos it contains on subproject belonging P/01)
This is not the other way round (a user that can see a subproject not necesarily is allowed to see its project, only the ones allowed for its cod_dpt)