Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(rbac): show what project access falls back to without an override (#85483)

Alex Lider1c8c1eee703b
diff --git a/frontend/src/layout/navigation-3000/sidepanel/panels/access_control/ResourceAccessControlsV2/AccessControlDetail.tsx b/frontend/src/layout/navigation-3000/sidepanel/panels/access_control/ResourceAccessControlsV2/AccessControlDetail.tsx
index 30df5fc8d537..5a4703f4772c 100644
--- a/frontend/src/layout/navigation-3000/sidepanel/panels/access_control/ResourceAccessControlsV2/AccessControlDetail.tsx
+++ b/frontend/src/layout/navigation-3000/sidepanel/panels/access_control/ResourceAccessControlsV2/AccessControlDetail.tsx
@@ -230,8 +230,9 @@ function ProjectAccessSection({
levels={availableProjectLevels}
onChange={onChange}
disabledReason={subjectDisabledReason(entry, canEdit, user?.uuid)}
- // Plain "No override": project access is object-resolved at runtime (an explicit role rule
- // can undercut the default), so annotating what applies without a rule can be wrong here.
+ inherited={inheritedFor(entry.project, 'this project')}
+ // Falls back to a plain "No override" for a subject with nothing above them, which
+ // is the project's own default rather than a member or a role
allowNoOverride
/>
</div>