Thank you for this useful plugin.
I have set up your add-on plugin for permissions, installed MEMBERS plugin and created several users and several roles. The set up seems easy and straightforward :-)
1. In case I want user to upload files, I need to activate the "upload_files" capability, and when I do that, the user can also see the "Multimedia" item in menu, and can upload files to Multimedia Library. Is possible to have a capability in order to let them upload documents but no upload to multimedia library?
2. In order to view documents in category, and edit them, I have to activate the capability "read_private_documents". What happens is the other users from other departments can see file, no edit, no download, but can see and try to download. I suppose the documents in other departments must be completely invisible.
3. Also, seems I haven't configured permissions correctly, because the owner of the file, except admin user, can't download file. But I have checked everything...
Can you please let me know what am I doing wrong?