·security-rbac
!

security-rbac

poletron/custom-rules

數據庫安全、RBAC 和訪問控制策略 觸發:實施基於角色的訪問控制時。

3安裝·0熱度·@poletron

安裝

$npx skills add https://github.com/poletron/custom-rules --skill security-rbac

SKILL.md

Security must be implemented at the database layer (Defense in Depth), ensuring that even if the application layer is compromised, the data remains protected by strict access controls.

1.1 Standard Roles Implement a hierarchy of roles to categorize users. Avoid assigning permissions to individual users; assign them to Roles.

Use RLS to strictly enforce data isolation at the row level based on the current user context.

數據庫安全、RBAC 和訪問控制策略 觸發:實施基於角色的訪問控制時。 來源:poletron/custom-rules。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/poletron/custom-rules --skill security-rbac
分類
!安全工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 security-rbac?

數據庫安全、RBAC 和訪問控制策略 觸發:實施基於角色的訪問控制時。 來源:poletron/custom-rules。

如何安裝 security-rbac?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/poletron/custom-rules --skill security-rbac 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/poletron/custom-rules