Skip to content

Commit

Permalink
fixup typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wernst committed Aug 21, 2023
1 parent d8a463e commit f307ca9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/docs/src/pages/guides/auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ With these claims, Triplit can assign the special variable `$SESSION_USER_ID` in

## Authorization

Now that Triplit knows who

Triplit allows you to define rules on your collections that determine who can read and write data. These rules are defined in the `rules` property of your collection's schema.

Rules are defined as [filter clauses](/queries#filtering) that are applied to a query's result. For example, a write rule `[['author', '=', '$SESSION_USER_ID']]` on a collection `todos` would only allow users to assign themselves as the author of a todo.
Expand Down

0 comments on commit f307ca9

Please sign in to comment.