Skip to content

Commit e83e8e4

Browse files
jamesnclflovilmart
authored andcommitted
Clarify use of ignoreAcls (#542)
* Added requirement to use ignoreAcls() when retrieving data from datastore which is configured with Role based ACLs * Clarifying that ignoreAcls only required for data protected by Role based ACL, and cannot then use the same query for network
1 parent 841f5f3 commit e83e8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/android/local-datastore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ParseQuery<ParseObject> query = ParseQuery.getQuery("GameScore");
5252
query.fromLocalDatastore();
5353
```
5454

55-
The only difference is that you won’t be able to access any data protected by Role based ACLs due to the fact that the Roles are stored on the server. To access this data protected by Role based ACLs, you will need to ignore ACLs when executing a Local Datastore query.
55+
The only difference is that you won’t be able to access any data protected by Role based ACLs due to the fact that the Roles are stored on the server. To access this data protected by Role based ACLs, you may need to ignore ACLs when executing a Local Datastore query by calling the `ignoreAcls` method on the query. Note that after calling this, you cannot subsequently use the same query to load from the network.
5656

5757
```java
5858
// If data is protected by Role based ACLs:

0 commit comments

Comments
 (0)