Skip to content

Commit 87d76f5

Browse files
tomcooperandcoflovilmart
authored andcommitted
Amended ACL Code example syntax to appear clearer (#482)
"ACL": missing from example.
1 parent 86acf3f commit 87d76f5

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

_includes/rest/users.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -548,15 +548,16 @@ The ACL is formatted as a JSON object where the keys are either object ids or th
548548

549549
For example, if you want the user with id `"3KmCvT7Zsb"` to have read and write access to an object, plus the object should be publicly readable, that corresponds to an ACL of:
550550

551-
<pre><code class="json">
552-
{
553-
"3KmCvT7Zsb": {
554-
"read": true,
555-
"write": true
556-
},
557-
"*": {
558-
"read": true
559-
}
551+
<pre><code class="json">{
552+
"ACL": {
553+
"3KmCvT7Zsb": {
554+
"read": true,
555+
"write": true
556+
},
557+
"*": {
558+
"read": true
559+
}
560+
}
560561
}
561562
</code></pre>
562563

0 commit comments

Comments
 (0)