Skip to main content

authorization

Use when: design or review access control so users can only do what they are permitted to do.

ソース情報

リポジトリ
kimtth/agent-skill-100-lines-or-less
ソースの最終更新活動
2026年6月26日 02:15
検出された SKILL.md の言語
英語
スター
2
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
authorization
description
Use when: design or review access control so users can only do what they are permitted to do.
Goal: enforce permissions consistently at every trust boundary. Use for: - deciding who can read or change what - choosing a model: roles, attributes, or relationships - fixing missing or inconsistent permission checks Workflow: 1. Define the resources, actions, and who may perform them. 2. Choose a model: RBAC, ABAC, or relationship-based (ReBAC). 3. Enforce checks server-side at every entry point. 4. Default to deny; grant explicitly. 5. Scope data queries to the caller's permissions. 6. Test allowed and forbidden paths, including escalation attempts. Patterns: - centralized policy checks, not scattered ad hoc ifs - ownership and tenant scoping on every query - least privilege for roles and service accounts - deny-by-default with explicit allow rules Rules: - never trust client-side authorization - check on the server at the data boundary, every time - default deny; make grants explicit and auditable - prevent IDOR by scoping queries to the authorized subject
GitHubで見る