Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to PATCH other users CUSTOM fields #162

Open
luizzz opened this issue Oct 13, 2017 · 0 comments
Open

Allow to PATCH other users CUSTOM fields #162

luizzz opened this issue Oct 13, 2017 · 0 comments

Comments

@luizzz
Copy link

luizzz commented Oct 13, 2017

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()",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant