Skip to content

Commit 844697d

Browse files
ctrongminhflovilmart
authored andcommitted
Update the security.md (#478)
change requireAuthentication to requiresAuthentication as error {"code":107,"error":"'requireAuthentication' is not a valid key for class level permissions"}
1 parent 87d76f5 commit 844697d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_includes/common/security.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,16 +407,16 @@ For example, you want to allow your **authenticated users** to `find` and `get`
407407
classLevelPermissions:
408408
{
409409
"find": {
410-
"requireAuthentication": true,
410+
"requiresAuthentication": true,
411411
"role:admin": true
412412
},
413413
"get": {
414-
"requireAuthentication": true,
414+
"requiresAuthentication": true,
415415
"role:admin": true
416416
},
417417
"create": { "role:admin": true },
418418
"update": { "role:admin": true },
419-
"delete": { "role:admin": true },
419+
"delete": { "role:admin": true }
420420
}
421421
}
422422
```

0 commit comments

Comments
 (0)