Unable to Access Users Section Due to Exceeded Policy Limit #16987
adafww
started this conversation in
Contribute to Supabase
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug report
Describe the bug
I am facing an issue when attempting to open the users section at https://my-project.com/project/default/auth/users in the Supabase Studio. The page fails to load, and an error message is displayed. image: supabase/studio:20230330-99fed3d
To Reproduce
Steps to reproduce the behavior:
The page fails to load due to a large number of Policies associated with the tables. We have several hundred tables, and each table has around 4 Policies, causing the total size to exceed the 4 MB limit.
Expected behavior
I expected to be able to access the users section in Supabase Studio without any issues, regardless of the number of Policies.
Screenshots
Additional context
We are using Supabase extensively in our application, and due to the nature of our data, each table has multiple Policies associated with it. This has led to the accumulation of a significant number of Policies across the entire database. As a result, accessing the users section in Supabase Studio has become problematic.
I have created a bug report on GitHub with the details and also attached a screenshot of the error message. You can find the bug report at [provide the link to the bug report here].
Considering the number of tables and Policies, I understand that resolving this issue might take some time. Therefore, we are willing to wait for around six months to a year to see if it can be addressed in a future update. Thank you for your attention to this matter.
Beta Was this translation helpful? Give feedback.
All reactions