posthog-enterprise-rbac

Featured

PostHog enterprise access control: organization/project hierarchy, member roles, scoped API keys, SSO/SAML configuration, and activity audit logging. Trigger: "posthog SSO", "posthog RBAC", "posthog enterprise", "posthog roles", "posthog permissions", "posthog SAML", "posthog access".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# PostHog Enterprise RBAC ## Overview PostHog access control uses a three-level hierarchy: Organization > Project > Resource. Organizations contain multiple projects (e.g., production, staging), and each project has its own data, feature flags, and dashboards. Members are assigned roles at the organization level and can be restricted to specific projects. ## Prerequisites - PostHog Cloud or self-hosted with enterprise license - Organization admin role - Multiple projects configured (one per environment) ## Access Control Model | Level | Scope | Controls | |-------|-------|----------| | Organization | All projects | Member management, billing, SSO enforcement | | Project | Single project | Feature flags, insights, dashboards, session recordings | | API Key | Scoped operations | Personal API key with specific scopes | **Member Roles:** | Role | Level | Permissions | |------|-------|------------| | Owner | 15 | Full admin, billing, delete org | | Admin | 8 | Manage members, all project settings | | Member | 1 | View/create insights, flags, recordings | ## Instructions ### Step 1: Set Up Project-Level Access ```bash set -euo pipefail # Create a production project with access control curl -X POST "https://app.posthog.com/api/organizations/$ORG_ID/projects/" \ -H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "Production", "access_control": true}' # Add a member to a specific project (level 1 = Member, 8 = Ad...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

posthog-security-basics

Secure PostHog integration: API key management, project key vs personal key separation, secret rotation, scoped keys, and git-leak prevention. Trigger: "posthog security", "posthog secrets", "secure posthog", "posthog API key security", "posthog key rotation".

2,266 Updated today
jeremylongshore
AI & Automation Featured

sentry-enterprise-rbac

Configure enterprise role-based access control, SSO/SAML2, and SCIM provisioning in Sentry. Use when setting up organization hierarchy, team permissions, identity provider integration, API token governance, or audit logging for compliance. Trigger: "sentry rbac", "sentry permissions", "sentry team access", "sentry sso setup", "sentry scim", "sentry audit log".

2,266 Updated today
jeremylongshore
AI & Automation Featured

posthog-multi-env-setup

Configure PostHog across development, staging, and production environments. Separate PostHog projects per environment, environment-specific SDK config, feature flag rollout per env, and session recording controls. Trigger: "posthog environments", "posthog staging", "posthog dev prod", "posthog environment setup", "posthog project per env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

coderabbit-enterprise-rbac

Configure CodeRabbit enterprise access control, seat management, and organization policies. Use when managing who gets AI reviews, configuring organization-level defaults, or implementing access policies for CodeRabbit across teams. Trigger with phrases like "coderabbit SSO", "coderabbit RBAC", "coderabbit enterprise", "coderabbit roles", "coderabbit permissions", "coderabbit seats".

2,266 Updated today
jeremylongshore
AI & Automation Featured

posthog-install-auth

Install and configure PostHog SDKs with authentication. Use when setting up posthog-js (browser), posthog-node (server), or configuring API keys for a new PostHog integration. Trigger: "install posthog", "setup posthog", "posthog auth", "configure posthog API key", "posthog init".

2,266 Updated today
jeremylongshore