feathers-casl:feathers.js + casl

时间:2021-04-11 22:26:57
【文件属性】:
文件名称:feathers-casl:feathers.js + casl
文件大小:228KB
文件格式:ZIP
更新时间:2021-04-11 22:26:57
nodejs typescript permissions acl authorization 羽毛罐 关于 使用CASL将访问控制添加到您的Feathers应用程序中。 该项目是为构建的。 一个用于构建现代实时应用程序的开源Web框架。 它基于 ,是在中使用CASL的便捷层。 特征 由Feathers和CASL完全提供动力 用TypeScript编写 允许所有create , find , get , update , patch , remove或create , read , update , delete方法的权限 不基于方法定义权限: can('view', 'Settings') 受条件限制: can('create', 'Task', { userId: user.id }) 受各个字段限制: cannot('update', 'User', ['roleId']) 对限制性$select机支持: can('read', 'User', ['id', 'user
【文件预览】:
feathers-casl-master
----.mocharc.js(240B)
----docs()
--------hook-authorize.md(5KB)
--------.vuepress()
--------client-side.md(5KB)
--------gotchas.md(1KB)
--------getting-started.md(7KB)
--------channels.md(4KB)
--------index.md(746B)
--------cookbook.md(240B)
----package.json(3KB)
----.github()
--------workflows()
--------stale.yml(1013B)
----test()
--------app()
--------utils()
--------authorize()
--------channels()
----LICENSE(1KB)
----package-lock.json(631KB)
----.gitlab-ci.yml(219B)
----tsconfig.test.json(299B)
----.npmignore(37B)
----.eslintrc.js(995B)
----tsconfig.json(390B)
----.gitignore(2KB)
----lib()
--------hooks()
--------initialize.ts(1KB)
--------types.ts(2KB)
--------utils()
--------index.ts(917B)
--------makeAbilityFromRules.ts(794B)
--------channels()
----.nycrc.json(326B)
----README.md(3KB)
----.eslintignore(35B)
----.vscode()
--------launch.json(790B)
--------settings.json(385B)

网友评论