├── .commitlintrc.js ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── build.yml │ ├── release-next.yml │ ├── release-stable.yml │ └── verify-pr.yml ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc.js ├── .versionrc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── VERSION ├── benchmark ├── BENCHMARK.md └── index.js ├── docs ├── README.md ├── classes │ └── index.RBAC-1.md ├── interfaces │ ├── index.RBAC.OperationRules.md │ ├── index.RBAC.Options.md │ ├── index.RBAC.Refs.md │ ├── index.RBAC.ResourcePermission.md │ ├── index.RBAC.ResourceRules.md │ ├── index.RBAC.RoleRules.md │ └── index.RBAC.RulesObject.md └── modules │ ├── index.RBAC.md │ ├── index.md │ └── utils.md ├── example └── example.ts ├── jest.config.json ├── package.json ├── rbac.logo.svg ├── rollup.config.js ├── src ├── index.ts └── utils.ts ├── test ├── cornercases.spec.ts ├── exports.spec.ts ├── index.spec.ts └── utils.spec.ts ├── tsconfig.browser.json ├── tsconfig.eslint.json ├── tsconfig.json ├── tsconfig.node.json └── tsconfig.shared.json /.commitlintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = {extends: ['@commitlint/config-conventional']}; 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release-next.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.github/workflows/release-next.yml -------------------------------------------------------------------------------- /.github/workflows/release-stable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.github/workflows/release-stable.yml -------------------------------------------------------------------------------- /.github/workflows/verify-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.github/workflows/verify-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.versionrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/.versionrc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | v2.0.1 2 | -------------------------------------------------------------------------------- /benchmark/BENCHMARK.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/benchmark/BENCHMARK.md -------------------------------------------------------------------------------- /benchmark/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/benchmark/index.js -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/classes/index.RBAC-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/classes/index.RBAC-1.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.OperationRules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.OperationRules.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.Options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.Options.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.Refs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.Refs.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.ResourcePermission.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.ResourcePermission.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.ResourceRules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.ResourceRules.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.RoleRules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.RoleRules.md -------------------------------------------------------------------------------- /docs/interfaces/index.RBAC.RulesObject.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/interfaces/index.RBAC.RulesObject.md -------------------------------------------------------------------------------- /docs/modules/index.RBAC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/modules/index.RBAC.md -------------------------------------------------------------------------------- /docs/modules/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/modules/index.md -------------------------------------------------------------------------------- /docs/modules/utils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/docs/modules/utils.md -------------------------------------------------------------------------------- /example/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/example/example.ts -------------------------------------------------------------------------------- /jest.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/jest.config.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/package.json -------------------------------------------------------------------------------- /rbac.logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/rbac.logo.svg -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/cornercases.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/test/cornercases.spec.ts -------------------------------------------------------------------------------- /test/exports.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/test/exports.spec.ts -------------------------------------------------------------------------------- /test/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/test/index.spec.ts -------------------------------------------------------------------------------- /test/utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/test/utils.spec.ts -------------------------------------------------------------------------------- /tsconfig.browser.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/tsconfig.browser.json -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /tsconfig.shared.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SkeLLLa/fast-rbac/HEAD/tsconfig.shared.json --------------------------------------------------------------------------------