Title: csebe's Replies | WordPress.org

---

# csebe

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Prevent Direct Access - Protect WordPress Files] Cannot protect file as Editor](https://wordpress.org/support/topic/cannot-protect-file-as-editor/)
 *  Thread Starter [csebe](https://wordpress.org/support/users/csebe/)
 * (@csebe)
 * [12 months ago](https://wordpress.org/support/topic/cannot-protect-file-as-editor/#post-18520026)
 * Found the problem and thought it might be useful to someone:
 * If you use both “_Prevent Direct Access (PDA)_” **AND** “_Members_” plugins, 
   then REST API access of PDA will be prevented for any other role except Admin(
   and the problem described above will manifest).
 * To make it work, grant to the desired role (“Editor” in my case) the permission:
   “
   General” >> “Manage Options”
 * Note that the problem manifested even if “_Members_” plugin was freshly installed(
   i.e. not yet configured), and even if plugin was subsequently disabled!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Prevent Direct Access - Protect WordPress Files] Cannot protect file as Editor](https://wordpress.org/support/topic/cannot-protect-file-as-editor/)
 *  Thread Starter [csebe](https://wordpress.org/support/users/csebe/)
 * (@csebe)
 * [12 months ago](https://wordpress.org/support/topic/cannot-protect-file-as-editor/#post-18519917)
 * Hi [@muhammadwpfolio](https://wordpress.org/support/users/muhammadwpfolio/),
 * Thank you for your fast answer!
   It is indeed a local problem; following your 
   suggestion I have looked at the Requests/Responses in browser console and:
 * **_GET [https://…/wp-json/pda-lite/v1/files/3484](https://…/wp-json/pda-lite/v1/files/3484)_**
   
   fails with:_**rest\_forbidden, “Sorry, you are not allowed to do that.”**_
 * So, it looks it’s API permission issue (due to some plugin; I played with a couple
   today, in order to secure the API).
 * Apologizes for the waste of time on your side!
 * Best regards!

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