Merge pull request #12632 from devstein/master

style: small updates to the Picket integration docs
This commit is contained in:
Alaister Young authored and GitHub committed 2023-04-20 15:28:46 +10:00
commit fa3e449664
2 files changed
+1 -1

No files matched your search

@@ -72,7 +72,7 @@ Click `Save` to create the new table.
Now we want to make sure that only the `todos` owner, the user's `wallet_address`, can access their todos. The key component of the this RLS policy is the expression
```sql
((jwt() ->> 'walletAddress'::text) = wallet_address)
((auth.jwt() ->> 'walletAddress'::text) = wallet_address)
```
This expression checks that the wallet address in the requesting JWT access token is the same as the `wallet_address` in the `todos` table.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

After

Width:  |  Height:  |  Size: 234 KiB