Common Issues
auth
Users Can See or Do Things They Shouldn't
Your app doesn't properly control who can see or do what. Regular users might access admin pages, see other users' private data, or perform actions (like deleting or editing) that should be restricted.
Common Causes
- No role-based access control (RBAC) implemented
- Access checks only on the frontend — the API allows anything
- Row Level Security not configured (anyone can query any data)
- Admin routes are accessible by anyone who knows the URL
- User ID not validated on API calls — users can modify other users' data by changing the ID
How to Fix It
- Test by logging in as a regular user and navigating directly to admin URLs
- Check if API endpoints verify the user's role before performing actions
- If using Supabase, implement RLS policies that restrict data access by user ID
- Add server-side authorization checks — never rely only on hiding UI elements
- Verify that users can only read/update/delete their own data
Real developers can help you.
Describe what's wrong in plain English. No technical knowledge needed.
Get HelpFrequently Asked Questions
Users can access the admin page. Is this a big deal?
Yes. If the admin page has real functionality (delete users, change settings), this is a serious security issue. Get it fixed immediately.
How do I know if my app has permission issues?
Try logging in as a regular user and manually navigating to admin URLs. Also check if you can modify another user's data by changing IDs in API requests.