I want to show some documents only to specific users. I have one category for public files that everyone should see and some subcategories, each for one user (who is set in category access rights). There I want put some invoices, contracts etc.
Is it possible to create one module which will show to user only what he is supposed to see?
I've tried to do this by custom module and Phoca download plugin. I've just put there tags for every categories like this:
In that way everybody see everything although in file settings I've set not to display inaccessible files. I also noticed that plugin always show file even it's unpublished.{phocadownload view=filelist|id=6} <-- This one is for everyone
{phocadownload view=filelist|id=7} <-- This one is for user A only
{phocadownload view=filelist|id=8} <-- This one is for user B only
I use Joomla 3.9.22 and up to date plugin and component
What am I doing wrong?