Thread Starter
csebe
(@csebe)
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!!
Thread Starter
csebe
(@csebe)
Hi @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
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!