Skip to content

Who sees what in the dashboard

With sign-in, the fleet views reuse Kubernetes RBAC. You see a namespace's services, revisions, targets, edges and evidence only if you may list Pactos there. The dashboard asks the apiserver with a SubjectAccessReview for your username and groups, keeps each answer a minute and applies one filter to every view: counts, search, the graph, change analysis and the remote MCP fleet tools. A visitor who has not signed in gets the sign-in screen and no fleet data.

Your username and groups are what the API server answers for your token (match the API server's claim mapping). A remote pacto mcp --fleet exchanges each caller's token (--exchange-client-id) and asks the API server who they are, so a person is the same identity in both. When your RBAC lets you read no namespace, the dashboard says so and names your groups.

What stays hidden

Change analysis on raw references answers only for services you can see: a hidden one, on either side of the change, reads as not found. A dashboard that is not on loopback accepts only references to revisions in your view and reads each at its digest-pinned reference; it refuses a local path. A service known only from a registry, with no Pacto in any namespace, belongs to no namespace: only people who may list Pactos in every namespace see it, and for everyone else it is hidden like the rest. A provider of a platform offering is the exception when its contract declares the offering and every Kubernetes source answered: every signed-in person sees its owner, offering and versions, with all its targets hidden. Its consumers follow their own namespaces, and the offering counts the ones you cannot see. A golden path with no Kubernetes target is visible the same way, with only its revisions that declare service.template, and counts the services created from it that you cannot see. A visible service whose path is hidden shows its origin unlinked, and createdFrom answers alike for a hidden path and an absent one. A hidden service is never named: the dashboard says some services are hidden, and a service page counts the hidden services it depends on and that depend on it. If the apiserver cannot answer, the views show an error, not a smaller fleet.

Inferred services

An inferred service also needs the right to read its workload. You see one only if you may list both Pactos and its kind in its namespace: deployments, statefulsets or daemonsets in the apps group, or cronjobs in the batch group. Someone who may list Pactos in every namespace, but not every one of those kinds, gets a restricted view instead of the whole fleet. The dashboard asks these reviews the same way and caches them as long.

The repository of an inferred service's group shows only if you may list the Argo CD Application or Flux object it was read from, in that object's namespace; otherwise it reads "hidden by your permissions". To read those objects the dashboard ServiceAccount holds list on applications, kustomizations, helmreleases and gitrepositories. That grant lets the dashboard and operator ServiceAccounts read inline Helm values (spec.source.helm.values, spec.values, spec.postBuild.substitute), which can hold credentials. Pacto decodes only the source and status fields it names.

Without sign-in

Without sign-in nothing is filtered. On loopback the dashboard reads the fleet as your kubeconfig user and shows all of it. A shared dashboard without sign-in shows everything its ServiceAccount reads to anyone who reaches it, so it starts only when you allow that: pacto dashboard --allow-anonymous, or the chart values dashboard.auth.tokenSignIn.enabled=false and dashboard.auth.allowAnonymous=true together, with a warning in the install notes (serve without sign-in).

Metrics

The chart value dashboard.stats.registry names the stats repository the dashboard's Metrics page reads run records from, with the registry credentials in dashboard.ociSecrets. Signed in, you see the records of services in your view, and operation records only in the namespaces where you may list Operations. Coverage shows only its current value, computed from your view, and no history. Delivery-derived metrics (held, failed, rolled back, verification failed and lead time) need sign-in: a dashboard shared without sign-in leaves those records out of every number and shows none of them, and it hides services outside its fleet. A hidden service is never named or counted; the page says some records are outside your view.

What the dashboard needs

The operator's chart grants the dashboard's ServiceAccount create on subjectaccessreviews and get, list and watch on delivery Stages and Operations, for the shared cache, and get on the kube-system namespace by name, to learn the cluster id. The operator reads the same namespace for its Evidence Server and holds the same rights while the dashboard is enabled, since Kubernetes lets it grant only what it has. A dashboard you run yourself with pacto dashboard --oidc-issuer-url needs the same rights for the credentials it runs with; without the delivery reads, it reads delivery with each person's token. A remote pacto mcp --fleet with --auth-issuer needs create on subjectaccessreviews and token exchange: the exchanged token asks the API server who the caller is, and each tool call is logged with that name under --verbose.

For delivery, the ServiceAccount also lists namespaces. A person who may not list Stages in every namespace sees the Stages of each namespace where their own RBAC lets them list Stages, including a namespace that runs no Pacto yet. The ServiceAccount learns only the namespace names; the person's own RBAC decides which Stages they read. Without this right the dashboard reads Stages only in the namespaces of the fleet's workloads and marks the answer partial.