Title: Cannot control document viewing by user role
Last modified: April 3, 2018

---

# Cannot control document viewing by user role

 *  Resolved [PeterHl](https://wordpress.org/support/users/peterhl/)
 * (@peterhl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/)
 * Hi,
    One of the key features for me in this plugin has been the ability to control
   access to documents by setting user role types for individual documents in the
   Contributors area. By setting the file status to private and then adding a user
   role, e.g. author, or subscriber, I was able to select which files were visible
   to which type of user. This functionality appears to no longer work. Setting 
   documents to private now removes access for everyone, setting it to public opens
   access to everyone. Adding a role to the contributors field doesn’t seem to do
   anything.
 * Do you have any suggestions on how to control user (role) access at the document
   level?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/#post-10141698)
 * I’ll take a look at this, but you are right if you make a file private it should
   be visible to all users and or roles that have contributor status.
 * It sounds like a bug I will have a look.
 * Can you tell me if the administrator role still has access to all the files no
   matter the state.
 *  Thread Starter [PeterHl](https://wordpress.org/support/users/peterhl/)
 * (@peterhl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/#post-10142245)
 * Hi,
    Yes all files are accessible to the administrator.
 * Thanks for checking into this.
    Peter
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/#post-10142252)
 * I have found the issue and will have a new version released soon with the fix.
 *  Thread Starter [PeterHl](https://wordpress.org/support/users/peterhl/)
 * (@peterhl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/#post-10142614)
 * Thanks for the fix, it works great!
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/#post-10142617)
 * np

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cannot control document viewing by user role’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/cannot-control-document-viewing-by-user-role/#post-10142617)
 * Status: resolved