Hi @larsonnn!
I have Strapi v.3.6.8 and I am testing strapi-plugin-socket-io now.
There is one problem I have… I tried to restrict access to only one Table from only one User. So, I have a table named “testtable” (it’s a collection name and there is a name of directory in strapi/api directory (strapi/api/testtable). Also I created a User named “api_tech” with a role “api_access” which has full access to api of the table “testtable”.
Then according to your tips, I created a directory “socket-io/services/” in “extensions” directory and there I created a file “config.json” with following content:
{
"routes": [
{
"testtable": "api_tech"
}
]
}
But this configuration doesn’t work for me. And I didn’t see any errors or debugs (in debug mode). If I removed “routes” configuration, I get requested events (create, delete, update) from websocket without problem…
What I do wrong in this config.json file?