checking-member-access
Skill này làm gì
Skill này đọc cài đặt kiểm soát truy cập của PostHog và giải thích một thành viên hoặc vai trò được phép làm gì. Nó dành cho bất kỳ ai quản lý dự án PostHog và cần trả lời câu hỏi về ai được chỉnh sửa gì.
Khi nào nên dùng
- ✓Khi bạn cần biết một thành viên có thể chỉnh sửa dashboard hoặc feature flag hay không.
- ✓Khi ai đó không mở được dashboard, notebook hoặc bảng và bạn muốn biết lý do.
- ✓Khi bạn muốn xem một vai trò bị hạn chế truy cập các thuộc tính hoặc bảng nào.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/access_control/skills/checking-member-access/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Vai trò analyst của tôi có chỉnh sửa được feature flag trong dự án PostHog của chúng tôi không, và vì sao có hoặc không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill dùng các công cụ kiểm soát truy cập của PostHog để đọc mức truy cập của một người hoặc vai trò, và tìm nơi mức đó đến từ đâu. Sau đó, skill giải thích kết quả bằng ngôn ngữ đơn giản. Skill không thay đổi quy tắc nào trừ khi bạn xác nhận thay đổi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
analystrole 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_subjectofroleanywhere in amembers-listresult 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 ofresourcesin a members-list entry. - Project levels.
noneblocks access to the project and its resources.membercan view and edit the resources their other rules permit.admincan also edit project settings, manage the project's access rules, and delete the project. - Tool and object levels.
nonecannot view.viewercan view but not change.editorcan view and change.managercan also manage the access rules of the tool or object. Order:none<viewer<editor<manager. - Property levels.
nonehides the property.readshows it.read_writealso allows edits. Every property isread_writeunless a rule exists. - Bounds.
minimumandmaximumper tool, ondefaults-get, are the levels a rule can set. A tool withminimumviewercan never be set tonone. - 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_levelis a number: 1 member, 8 admin, 15 owner. - Creators have full access to the objects they created, and only those. A member with
vieweron 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_leveland never recompute it from the stored rules. If the user asks why, explain frominherited_access, not from your own precedence.
Available tools
| Tool | Returns |
|---|---|
posthog:access-control-members-list |
Câu hỏi thường gặp
Skill này có cần gói PostHog cụ thể không?
Các công cụ kiểm soát truy cập không có trong gói miễn phí và gói trả theo lượng dùng. Quy tắc vai trò là tính năng của gói Enterprise.
Skill có thể thay đổi quyền truy cập của ai đó không?
Skill có thể chuẩn bị một thay đổi và giải thích nó, và chỉ áp dụng thay đổi sau khi bạn xác nhận.
Quyền truy cập mặc định nghĩa là gì?
Đó là mức khởi đầu mà các thành viên có trong một dự án, trừ khi một quy tắc ghi đè. Skill có thể cho thấy mức này được thiết lập như thế nào.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6824
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.