Title: JayWilliston's Replies | WordPress.org

---

# JayWilliston

  [  ](https://wordpress.org/support/users/jaywilliston/)

 *   [Profile](https://wordpress.org/support/users/jaywilliston/)
 *   [Topics Started](https://wordpress.org/support/users/jaywilliston/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jaywilliston/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jaywilliston/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jaywilliston/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jaywilliston/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jaywilliston/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-DownloadManager] Using custom user roles with WP-DownloadManager](https://wordpress.org/support/topic/using-custom-user-roles-with-wp-downloadmanager/)
 *  Thread Starter [JayWilliston](https://wordpress.org/support/users/jaywilliston/)
 * (@jaywilliston)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/using-custom-user-roles-with-wp-downloadmanager/#post-17289889)
 * answering my own question although it is admittedly a “hack” and not a solution.
   
   I created a “Custom Capability” in the Members plugin called “is_member”.I changed
   this line:
 *     ```wp-block-code
       // At Least Contributor Role
       if( current_user_can( 'edit_posts' ) ) {
           return 1;
       ```
   
 * to
 *     ```wp-block-code
       // At Least Contributor Role
       if( current_user_can( 'is_member' ) ) {
           return 1;
       ```
   
 * It would be nice if there were an option to do this “legally”.. but I’m satisfied
   with my nifty little hack.
   Thanks for the great plugin!!

Viewing 1 replies (of 1 total)