Hi! This looks similar to a problem that I just wrote a post about: Trying to add role-based folder permissions to the File DocType
Could you elaborate a bit about where exactly you added the link fields to restrict the filters?
I’m checking out the links that amadhaji posted right now, but I’m interested in seeing what specific edits you made to get it to work.
Thanks!