-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
What does the useMasterKey column in the _User class is useful for ? #4669
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
There's no
instead of http://parseplatform.org/Parse-SDK-JS/api/v1.11.1/Parse.Object.html#save |
Many thanks @flovilmart. I must be exhausted not being able to think that out by myself... |
You should be fine as long as you roles are tightly controled. |
Alright, thanks again for your answer, good evening! |
I know there is a limitation where a given user can't edit any other users than himself (except by using masterkey) for security reasons.
I have a case (which seems trivial in this kind of dev) where I need to edit others users while one of my users is logged in as admin. I bypassed the issue by using a cloud function and checking by-hand if the user has the right role to edit another one.
By default in the _User class there exists a useMasterKey column. I guessed that this column could eventually be set only by using the masterkey and then the user would be able to CRUD on any object and behind the hood it would use the masterkey but it seems I'm wrong.
So, could you tell me what does this column is useful for ? Is there any dev planned behind it ? Am I using it the wrong way ?
Thanks in advance for your answers.
The text was updated successfully, but these errors were encountered: