Skip to content

User on cloudCode do not match real values #1614

Closed
@nirco123

Description

@nirco123

Steps to reproduce:

  1. Lets say that we have column in User called "Enable"
  2. setup Enable=false
  3. call cloudCode function from JS SDK -> change enable to Enable=True
  4. call same cloudCode function (or any other) from JS SDK -> check request.user.Enable
  5. you will get Enable=false instead of Enable=True

My question is: when a user call any CloudFunction from and SDK do the parse lib become the user each time and query for the latest values, meaning, can we say with confident that request.user is always up-to-date or should I become the user with session token on each call?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions