Michael Ninh
Michael Ninh

Reputation: 802

How to control Parse ACLs on public level

Parse just updated to V 1.1.0 and this was listed as a change:

Converted PFACL's publicReadAccess and publicWriteAccess methods to properties.

Now I don't know how to change ACLs on a public level. It used to be this:

            acl.setPublicReadAccess(true)
            foo.ACL?.setPublicWriteAccess(true)

How do I achieve these effects now?

Thanks!

Upvotes: 0

Views: 32

Answers (1)

Peter Fennema
Peter Fennema

Reputation: 1690

acl.publicReadAccess = true
foo.ACL?.publicWriteAccess = true

Upvotes: 1

Related Questions