
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
permission-core
Advanced tools
Fine-grained RBAC and resource permission core for Node.js, with route permissions, data scopes, role inheritance, and wildcard matching.
permission-core 是一个面向 Node.js 生态的细粒度权限核心库,围绕统一的 action + resource 模型提供接口权限、数据权限、字段过滤、角色规则管理与缓存失效控制。
website/docs/**。typecheck、完整单测、构建产物生成,以及语句 / 分支 / 函数 / 行覆盖率 100% 验证。examples/ 提供可直接运行的 HTTP-only、DB-only 和完整接入流示例。适合只做接口权限的场景,例如菜单、按钮、路由和接口守卫。
<METHOD>:<path>,其中 path 指规范化后的命中路由路径;框架能暴露模板路由时优先使用模板assert、can、getResourcesdb: 资源适合只做集合级、行级和字段级数据权限的场景,例如在 Service / DAO 层主动校验权限、收口记录范围和过滤字段。
db:<collection>[:<field>]can、assert、getRowScope、filterRows、filterFields适合同步做接口权限、数据权限、行级范围和后台管理能力,并采用官方默认生产路径的场景。
cache-hub + monsqlizedb: 资源<METHOD>:<path>(path 指规范化后的命中路由路径,模板路由优先)db:<collection>[:<field>]invokeread、create、update、delete、write、*write 语义:规则侧表示授予 create + update,请求侧表示必须同时满足 create && updatecache-hubMonSQLizeStorageAdapterFileAdapter、MemoryAdapterStorageAdapter 抽象,不把权限模型改写成 MongoDB 专属库如果你要做角色详情页、调试面板或联调接口,除了 roles.getRules(roleId) 之外,还可以直接调用:
roles.getRoleChain(roleId):读取当前角色到父角色的继承链roles.getEffectiveRules(roleId):读取当前角色连同父链展开后的有效规则roles.inspect(roleId):一次返回 role、ownRules、effectiveRules、roleChainwebsite/docs/index.mdwebsite/docs/guide/quick-start.mdwebsite/docs/guide/production-deployment.mdwebsite/docs/guide/compatibility-matrix.mdwebsite/docs/guide/resource-paths.mdwebsite/docs/api/permission-core.mdwebsite/docs/examples/basic.mdexamples/README.md推荐阅读顺序:
website/docs/guide/quick-start.mdwebsite/docs/guide/faq.mdwebsite/docs/guide/resource-paths.mdwebsite/docs/guide/roles-and-rules.mdwebsite/docs/guide/check-permission.mdwebsite/docs/guide/integration-checklist.md如果你已经准备开始写接入代码,再继续看 website/docs/guide/implementation-reading-order.md。
SECURITY.mdwebsite/docs/guide/compatibility-matrix.mdwebsite/docs/guide/production-deployment.mdcd website
npm install
npm run dev
构建静态站点:
cd website
npm run build
运行仓库内示例:
npm run example:all
或分别执行:
npm run example:http
npm run example:db
npm run example:complete
website/docs/guide/implementation-reading-order.md。website/docs/api/** 与 website/docs/examples/**。FAQs
Fine-grained RBAC and resource permission core for Node.js, with route permissions, data scopes, role inheritance, and wildcard matching.
The npm package permission-core receives a total of 24 weekly downloads. As such, permission-core popularity was classified as not popular.
We found that permission-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.