mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Merge pull request #12632 from devstein/master
style: small updates to the Picket integration docs
This commit is contained in:
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 |
Reference in new issue
Block a user