Reputation: 91
I am building an application with Dreamfactory 2.7.0. It is deployed with bitnami/docker on my local machine (MacOS).
There are some tables and some relations between them. POSTing and GETting data has been no problem up until now.
The error message Access Forbidden. You do not have enough privileges to access this resource.
usually comes up when the requested resource has not yet been made accessible in the roles config.
This time however, access is clearly granted and it has worked before.
The roles config states:
mysql / _table/table_i_need_data_from / GET|POST / API.
There is only one user role and the user has that role. All the other tables can still be queried.
I can neither GET nor POST to table_i_need_data_from
.
I tried to add virtual relationships. The dropdowns were all empty so I could not set them up. I don't know if the 403 already happened before that or later. But it was around the same time.
What must I do to get the access working again?
When I use the API Docs from the Admin panel, the same request works fine.
Upvotes: 0
Views: 112
Reputation: 91
There was custom API script, which did nothing but exist. When I deleted the script, removed the ACL settings and added them again, it worked.
There seems to be a correlation between custom API scripts and the ACL evaluation. Maybe someone has a little insight to what could cause this. Other than that, the problem is gone and the question therefore moot.
Upvotes: 0