This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
403 when a call tries the API Activity endpoint #57
Labels
From directus created by apochalypze : directus/directus#2167
Version Info
Expected Behavior
a response that is not a 403
Actual Behavior
Aetting a 403 when trying to access the Activity API from the admin. Just selecting any table this call happens and results in a 403.
Steps to Reproduce
http://lightsoundstudios.net/webmin/api/1.1/activity/?currentPage=0&perPage=200&sort=id&sort_order=ASC&status=1,2&last_updated[articles]=1&columns_visible=type,action,identifier,table_name,row_id,user,data,id
This call seems to fail due to certain fields in the columns_visible not existing. If you remove the columns_visible from the query...
http://lightsoundstudios.net/webmin/api/1.1/activity/?currentPage=0&perPage=200&sort=id&sort_order=ASC&status=1,2&last_updated[articles]=1
No 403 and a valid response. The system is generating these links to I'm not sure what is going on here.
Schema Dump, Logs, or Screenshots
Chrome Console Log
GET http://lightsoundstudios.net/webmin/api/1.1/activity/?currentPage=0&perPage=200&sort=id&sort_order=ASC&status=1%2C2&last_updated%5Barticles%5D=1&columns_visible=type%2Caction%2Cidentifier%2Ctable_name%2Crow_id%2Cuser%2Cdata%2Cid 403 (Forbidden)
The text was updated successfully, but these errors were encountered: