Cannot create reference to df_sys_user table


#1

Hi,

Big fan of Dreamfactory, thanks for creating such an awesome product.

The issue I am having is when I add a field with the type of “user_id” to a database schema and try to get the records using the API Docs with the related parameter set to an asterisk “*” It returns the following:

{
  "error": [
    {
      "context": null,
      "message": "Table 'df_sys_user' not found.",
      "code": 404
    }
  ]
}

It appears that I cannot create a reference to the user’s table. Is this not allowed or is there some permissions I can change to achieve this.

I am using Dreamfactory 1.9.0 and it was installed using Bitnami on AWS

Any help is appreciated!

Thanks


#2

Currently, for security reasons, you are not permitted to fetch the user as a related record. related=* includes the user, which is not accessible by the service making the request. Your reference is set up correctly and working, you’re just not permitted to retrieve user via the related parameter.


#3

OK, thanks for getting back to me!