---
title: "Discussion on \"How to test Supabase RLS with two users (script included) By Shaameer\" | Hashnode"
description: "Discussion on \"How to test Supabase RLS with two users (script included) By Shaameer\". Why “it works in my app” proves nothing When you test your own app, you are always logged in as the same user, looking at your own rows. Of course it works. A leak only shows up when a different user"
url: "https://hashnode.com/posts/how-to-test-supabase-rls-with-two-users-script-included-by-shaameer/6af9a1b538e39b3423146580"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to test Supabase RLS with two users (script included) By Shaameer](https://testingrls.hashnode.dev/how-to-test-supabase-rls-with-two-users-script-included-by-shaameer?utm_source=hashnode&utm_medium=feed)

Why “it works in my app” proves nothing When you test your own app, you are always logged in as the same user, looking at your own rows. Of course it works. A leak only shows up when a different user

21h ago · 7 min read · testingrls.hashnode.dev  
Read the article

-   [#supabase-auth](https://hashnode.com/tag/supabase-auth)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#postrege](https://hashnode.com/tag/postrege)

## Written by

[SYED SHAAMEER Ali](https://hashnode.com/@shaameerbuilds)

@shaameerbuilds · pakistan

  
[View profile](https://hashnode.com/@shaameerbuilds)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
