Skip to content

Commit 0445d3e

Browse files
authored
docs: update privacy policy documentation to indicate fallthrough behavior (#42)
1 parent d25c1e1 commit 0445d3e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/entity/src/EntityPrivacyPolicy.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ export enum EntityAuthorizationAction {
5050
*
5151
* ```
5252
* foreach rule in rules:
53-
* authorized if rule allows
53+
* return authorized if rule allows
54+
* return not authorized if rule denies
5455
* continue to next rule if rule skips
55-
* not authorized if rule denies
56+
* return not authorized if all rules skip
5657
* ```
5758
*/
5859
export default abstract class EntityPrivacyPolicy<

0 commit comments

Comments
 (0)