Zum Inhalt springen
Skillpedia
Sicherheit41k · #6824

checking-member-access

Was er macht

Dieser Skill liest die Zugriffseinstellungen von PostHog und erklärt, was ein Teammitglied oder eine Rolle tun darf. Er richtet sich an alle, die ein PostHog-Projekt verwalten und Fragen dazu beantworten müssen, wer was bearbeiten darf.

Wann du ihn nutzt

  • ✓Wenn du wissen musst, ob ein Teammitglied Dashboards oder Feature-Flags bearbeiten darf.
  • ✓Wenn jemand ein Dashboard, Notebook oder eine Tabelle nicht öffnen kann und du den Grund wissen willst.
  • ✓Wenn du sehen willst, welche Eigenschaften oder Tabellen für eine Rolle gesperrt sind.

Link zum Skill

https://github.com/PostHog/posthog/blob/master/products/access_control/skills/checking-member-access/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/PostHog/posthog/blob/master/products/access_control/skills/checking-member-access/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Darf meine Analystenrolle in unserem PostHog-Projekt Feature-Flags bearbeiten, und warum oder warum nicht?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill nutzt die Zugriffsverwaltungs-Werkzeuge von PostHog, um die Zugriffsstufe einer Person oder Rolle zu lesen und herauszufinden, woher sie stammt. Das Ergebnis erklärt er in einfacher Sprache. Er ändert keine Regeln, außer du bestätigst eine Änderung.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Checking member access

Use this skill to answer "what can this person do here?" from the access control tools. The tools return the enforced level and where it comes from. This skill is for reading them correctly.

When to use this skill

  • "What can this member do in this project?" / "Can this member edit feature flags?"
  • "Who can edit dashboards?" / "Who has no access to experiments?"
  • "Why can't this member open this dashboard?" / "Which tables is this role restricted from?"
  • "Which properties are hidden from the support role?"
  • "What does the analyst role grant?" / "What is the default access in this project?"

Access rules can also be changed with MCP write tools. Read the current rule first, explain the change, then use the prepare/execute flow and call execute only after the user confirms.

Plan availability

  • Free and pay-as-you-go plans have no access control, and the access control tools are not offered to them. If the tools are missing from the catalog, say that the plan does not include access control and suggest upgrading to the Boost plan. Link the plan comparison: https://posthog.com/platform-packages.
  • Boost and Scale include the default levels and rules for single members on the project, on tools, on objects and on properties.
  • Roles exist on every plan, but role rules are an Enterprise feature: they can be set and are enforced only there, and the three role access tools are offered only there. If the tools are missing, say that role-based access control needs the Enterprise plan, with the same link. On other plans a member's roles never change the enforced level.
  • The tools do not say which plan the organization is on. A source_subject of role anywhere in a members-list result proves that role rules are enforced. Without that, ask the user whether the organization is on Enterprise before walking roles in step 4 of the workflow.

How access resolves

  • Scopes. The project itself, then each tool (dashboard, insight, feature_flag, notebook, experiment, warehouse_objects, and so on), then single objects inside a tool, then person and event properties. The tool names are the keys of resources in a members-list entry.
  • Project levels. none blocks access to the project and its resources. member can view and edit the resources their other rules permit. admin can also edit project settings, manage the project's access rules, and delete the project.
  • Tool and object levels. none cannot view. viewer can view but not change. editor can view and change. manager can also manage the access rules of the tool or object. Order: none < viewer < editor < manager.
  • Property levels. none hides the property. read shows it. read_write also allows edits. Every property is read_write unless a rule exists.
  • Bounds. minimum and maximum per tool, on defaults-get, are the levels a rule can set. A tool with minimum viewer can never be set to none.
  • Subjects. A rule belongs to one member, one role, or everyone in the project (the default).
  • Organization admins and owners have full access to everything in every project. No rule applies to them. organization_level is a number: 1 member, 8 admin, 15 owner.
  • Creators have full access to the objects they created, and only those. A member with viewer on dashboards can still edit the dashboard they created, and cannot edit the others.
  • Two resolution modes. Organizations resolve rules either most-specific-first (member rule, then role rules, then default, and object rule before tool rule) or legacy (the highest of the member's own rule and role rules wins). The tools do not say which mode applies. The server already applied it. So trust effective_access_level and never recompute it from the stored rules. If the user asks why, explain from inherited_access, not from your own precedence.

Available tools

Tool Returns
posthog:access-control-members-list
Häufige Fragen

Braucht das einen bestimmten PostHog-Tarif?

Zugriffsverwaltungs-Werkzeuge gibt es nicht im kostenlosen Tarif und im Tarif mit Zahlung nach Nutzung. Rollenregeln sind ein Enterprise-Feature.

Kann er den Zugriff einer Person ändern?

Er kann eine Änderung vorbereiten und erklären. Angewendet wird sie erst, nachdem du bestätigt hast.

Was bedeutet Standardzugriff?

Das ist die Ausgangsstufe, die Mitglieder in einem Projekt haben, solange keine Regel sie überschreibt. Der Skill kann zeigen, wie sie festgelegt ist.

Details

Originalbeschreibung des Autors

Explains what a member or a role can do in a PostHog project, using the access control MCP tools. Use when the user asks what someone can see or edit, who can edit dashboards or feature flags, why a member can or cannot open a dashboard, notebook or table, what a role grants, which properties are hidden from someone, or how the project's default access is set. Covers what each level means, how the stored rule, the enforced level and the inherited access relate, what the null values mean, which tool answers which question, and when the answer needs the role tools too.

repo: PostHog/posthog

Beliebtheit

GitHub-Sterne
41k
Platz im Ranking
#6824
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills