-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
ParseError {code: 206, message: "Cannot modify user FQrZUWcoW9."} #4647
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
Comments
This is the expected behaviour, one authenticated user cannot write on another user's object, nor read on it. THis is a security measure. Users hold private information and therefore are protected in a more restrictive way. |
@flovilmart Is there no solution to update the user attributes? For example an user with admin role should edit and change user attributes. Is there an solution to solve the problem on basic parse way without writing some custom cloud code. |
I have a similar issue where I need admins to be able to modify users. The behavior is very inconsistent, i.e. ACL for the user doesn't really make sense at all:
In the example above the ACL tells me I should be able to edit and a cryptic error message tells me I can't. |
In the latest release, updating users with the masterKey should let any ACL be set. We still want to ensure a user can’t accidentally lock himself out, there has been some discussion around it. I’d gladly review a PR, that softens the possible updates on ACL’s while preserving enough safety. |
@flovilmart yes the ACL is possible to set but does not reflect what can actually be done since Made a simple PR #4792 |
@mullwaden This PR would make me happy and solve the problem 👍🏻 |
ParseError {code: 206, message: "Cannot modify user FQrZUWcoW9."}.
Issue Description
ParseError {code: 206, message: "Cannot modify user FQrZUWcoW9."} when setting another user
even though set this ACL
Steps to reproduce
In source code, I found these
Expected Results
What you expected to happen.
Actual Outcome
What is happening instead.
Environment Setup
Logs/Trace
The text was updated successfully, but these errors were encountered: