Skip to content

Is the dashboard usable on open-source self-hosted (local_deploy)? Getting "Access Restricted" after login #5512

Description

@PeterObeden

Hi!

Trying to use the open-source self-hosted dashboard, and I'm not sure if I'm missing a config step. After signing up and logging in, the dashboard shows "Access Restricted / Contact Sales" instead of the API Inventory. Wanted to ask whether the dashboard is meant to be fully usable on local_deploy, and if so, what I'm missing.

Setup

  • Images: aktosecurity/akto-api-security-dashboard:2.8.5_local,
    aktosecurity/akto-api-testing:2.8.5_local,
    mongo:6.0.28
  • DASHBOARD_MODE=local_deploy (IS_SAAS unset), Docker Compose, single host

What happens

  • Admin signs up at /signup, logs in fine, routes to /dashboard/... → then "Access Restricted".

What I found while poking around (could easily be misreading it)

  • The SPA gate in main/index.js grants access when window.PLAN_TYPE ∈ {enterprise, professional, trial}.
  • On a fresh local_deploy login, window.PLAN_TYPE === "" while `window.DASHBOARD_MODE === "LOCAL_DEPLOY", and the gate doesn't seem to look at DASHBOARD_MODE.
  • PLAN_TYPE looks like it resolves via the billing service (ProfileActionOrganizationUtils.fetchFromBillingService), which a self-hosted box doesn't have — so it comes back empty.

Questions

  1. Is the dashboard intended to work on open-source local_deploy?
  2. If so, is there a supported env/config to set the plan (so the gate passes), or anything I've skipped in the self-hosted setup?
  3. If not expected, happy to file a proper issue with full repro.

Thanks for any pointers! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions