-
-
Notifications
You must be signed in to change notification settings - Fork 206
ParseObject save will remove acl control. #129
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
Hey, can you send an example of where you make a call with ACL?
If your using the preexisting functions, they should just send the ACL
…On Mon, 18 Mar 2019 at 16:04, 炸鸡叔 ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/5389326/54544207-11b0ac00-49da-11e9-94ac-53b98208871b.png>
[image: 8704D58B-CAED-448B-B27B-B1B88EB202A8]
<https://user-images.githubusercontent.com/5389326/54544273-34db5b80-49da-11e9-8d52-8f4b261fa514.png>
hi @phillwiggins <https://github.com/phillwiggins>
When I insert a new object with ACL,the ACL key and value will be removed.
How to add ACL control when I save my object? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHgn3pj_Seiympp5MApO5v9IJx44ZUAGks5vX7j-gaJpZM4b6KzY>
.
--
Kind Regards
Phill Wiggins
[email protected]
|
|
Okay, will fix tonight.
I'll let you know when done.
…On Mon, Mar 18, 2019, 16:12 炸鸡叔 ***@***.***> wrote:
var obj = ParseObject("MyClass");
obj.setObjectData(this.toMap());
obj.set("ACL", {
currentUser.objectId: {"read": true, "write": true}
});
var result = await obj.save();
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgn3hc4DwlpDCLoadQxGTUaq01wFNwrks5vX7r0gaJpZM4b6KzY>
.
|
Ok Thank you very much 💯 |
Hi. @phillwiggins I have another question. I already created a acl object on my server. But when I query it, cannot read it. What should I do when send request? |
Hey, I'm not sure on the querying ACL, although I have now added a correction so it should be sent if you want to test the v1.0.16 branch straight in your project? If you could let me know if that worked it would be great. Thanks |
hi |
Did you, in Parse.initialize(), set |
I’m not set it. |
it worked. Perfectly 😀 |
Thanks @danibjor for resolving. |
hi @phillwiggins
When I insert a new object with ACL,the ACL key and value will be removed.
How to add ACL control when I save my object? Thanks
The text was updated successfully, but these errors were encountered: