AGENT SKILL

auth-permission-rbac

Design RBAC, menu permissions, button permissions, product entitlements, and session claims.

License 许可
MIT
最近更新
2026-05-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
auth-permission-rbac
author
Siming
license
MIT
version
1.0.0
metadata
{ "siming": { "tags": [ "backend", "auth", "permission" ] } }
description
Design RBAC, menu permissions, button permissions, product entitlements, and session claims.

03 SKILL.md 正文

Auth Permission RBAC

Use this skill when changing auth or permission behavior.

Workflow

  1. Separate authentication, role assignment, permission checks, and product entitlement.
  2. Keep menu permissions and button permissions explicit.
  3. Add permission versioning when sessions cache permission claims.
  4. Verify denied, allowed, expired, and missing-token paths.
  5. Keep frontend permission checks as UX only; backend remains authoritative.

Checks

  • No product entitlement is inferred only from menu visibility.

04 同仓库更多 Skills