Base44 auth

Role-Based Access Control Not Restricting Pages in Base44

You have configured roles in your Base44 application (such as Admin, Editor, Viewer) but users are still able to access pages and perform actions that should be restricted to specific roles. The role-based access control appears to have no effect.

This is a critical security issue, especially for apps handling sensitive data. You may notice that regular users can access admin dashboards, edit records they should only be able to view, or see navigation items that should be hidden from their role.

The problem can be inconsistent: sometimes access is properly blocked on one page but not on another, or it works in the editor preview but fails in the published app.

Common Causes

  1. Page-level access rules were set but component-level or data-level access rules were not configured
  2. Role names in access rules don't exactly match the role names assigned to users (case sensitivity)
  3. The app relies on hiding UI elements rather than enforcing server-side access checks on the data
  4. A default role assignment is missing, so new users get no role and bypass role checks entirely
  5. Access rules were configured in the editor but not re-published to the live app

How to Fix It

Review your role configuration to ensure role names match exactly between user assignments and page/component access rules. Base44 may treat roles as case-sensitive strings.

Check that you have applied access restrictions at both the page level and the data level. Hiding a navigation link is not enough; the underlying data queries and actions must also be restricted.

Ensure every new user is assigned a default role upon signup. Users without a role may unexpectedly bypass access checks. For complex multi-role setups, consider having an expert audit your access control configuration to prevent security gaps.

Real developers can help you.

Nam Tran Nam Tran 10 years as fullstack developer Luca Liberati Luca Liberati I work on monoliths and microservices, backends and frontends, manage K8s clusters and love to design apps architecture AUXLE AUXLE I am a Full Stack Developer experienced in building Websites, Web apps and Cross Platform Mobile Apps for Startups and Companies. Matthew Butler Matthew Butler Systems Development Engineer @ Amazon Web Services Stanislav Prigodich Stanislav Prigodich 15+ years building iOS and web apps at startups and enterprise companies. I want to use that experience to help builders ship real products - when something breaks, I'm here to fix it. prajwalfullstack prajwalfullstack Hi Im a full stack developer, a vibe coded MVP to Market ready product, I'm here to help BurnHavoc BurnHavoc Been around fixing other peoples code for 20 years. Franck Plazanet Franck Plazanet I am a Strategic Engineering Leader with over 8 years of experience building high-availability enterprise systems and scaling high-performing technical teams. My focus is on bridging the gap between complex technology and business growth. Core Expertise: 🚀 Leadership: Managing and coaching teams of 15+ engineers, fostering a culture of accountability and continuous improvement. 🏗️ Architecture: Enterprise Core Systems, Multi-system Integration (ERP/API/ETL), and Core Database Structure. ☁️ Cloud & Scale: AWS Expert; architected systems handling 10B+ monthly requests and managing 100k+ SKUs. 📈 Business Impact: Aligning tech strategy with P&L goals to drive $70k+ in monthly recurring revenue. I thrive on "out-of-the-box" thinking to solve complex technical bottlenecks and am always looking for ways to use automation to improve business productivity. Rudra Bhikadiya Rudra Bhikadiya I build and fix web apps across Next.js, Node.js, and DBs. Comfortable jumping into messy code, broken APIs, and mysterious bugs. If your project works in theory but not in reality, I help close that gap. Yovel Cohen Yovel Cohen I got a lot of experience in building Long-horizon AI Agents in production, Backend apps that scale to millions of users and frontend knowledge as well.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help

Frequently Asked Questions

Why can regular users still see my admin pages in Base44?

You likely need to set access rules at both the page level and the data/component level. Just hiding navigation links doesn't prevent direct URL access.

How do I set up roles correctly in Base44?

Define your roles in the authentication settings, assign a default role for new signups, then apply page-level and data-level access rules using those exact role names.

Related Base44 Issues

Can't fix it yourself?
Real developers can help.

You don't need to be technical. Just describe what's wrong and a verified developer will handle the rest.

Get Help