Search code examples
parse-platformacl

How do I change Parse ACL settings back to Public Read/Write?


I was experimenting with Parse's ACL settings in my app, but now I have a problem: All my objects are now created without the permission to write. I can change them back in the data browser, but I don't see how to reset the defaults back to Public Read and Public Write. When I change the Data Browser settings, new objects are still created without write access.

I appreciate your help. I saw this post:

https://stackoverflow.com/questions/33929358/cannot-edit-parse-user-while-they-are-offline-how-do-i-enable-acl-public-write

which seems to mention the same problem, but nobody answered it.

Eli


Solution

  • According to the docs, you can set the default ACL by:

    [PFACL setDefaultACL:defaultACL withAccessForCurrentUser:YES];
    

    Did you try this?