dreamfactory icon indicating copy to clipboard operation
dreamfactory copied to clipboard

Allow to PATCH other users CUSTOM fields

Open luizzz opened this issue 7 years ago • 0 comments

I would like to change other users custom fields but is not possible, i think. My own user data is ok, like described here: http://wiki.dreamfactory.com/DreamFactory/Tutorials/Managing_user_custom_data

When i try to PATCH this (where user id is 1): https://mydreamfactoryserver/api/v2/system/user?related=user_custom_by_user_id&filter=id%20%3D%202

with this body data:

{
  "resource": [
    {
        "user_custom_by_user_id": [
        {
          "name": "foo",
          "value": "bar"
        }
        ]
    }
  ]
}

i got: "message": "Call to undefined method Illuminate\\Database\\Query\\Builder::updateByFilter()",

luizzz avatar Oct 13 '17 19:10 luizzz